1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | # Requires
# · http://fossil.include-once.org/versionnum/
# · http://fossil.include-once.org/xpm/
SHELL := /bin/bash #(for brace expansion)
NAME := streamtuner2
VERSION := $(shell version get:plugin st2.py || echo 2.1dev)
DEST := /usr/share/streamtuner2
INST := install -v
PACK := xpm
DEPS := -n $(NAME) -d python-pyquery -d python-gtk2 -d python-requests -d python-keybinder
OPTS := -s src -u man,fixperms -f --prefix=$(DEST) --deb-compression xz --rpm-compression xz --exe-autoextract
.PHONY: bin
all: gtk3 #(most used)
pack: all ver docs xpm src
gtk3: gtk3.xml.gz |
|
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 | # Requires
# · http://fossil.include-once.org/versionnum/
# · http://fossil.include-once.org/xpm/
SHELL := /bin/bash #(for brace expansion)
NAME := streamtuner2
VERSION := $(shell version get:plugin st2.py || echo 2.1dev)
DEST := /usr/share/streamtuner2
INST := install -m 644
PACK := xpm
DEPS := -n $(NAME) -d python-pyquery -d python-gtk2 -d python-requests -d python-keybinder
OPTS := -s src -u man,fixperms -f --prefix=$(DEST) --deb-compression xz --rpm-compression xz --exe-autoextract
.PHONY: bin
all: gtk3 #(most used)
pack: all ver docs xpm src
gtk3: gtk3.xml.gz |
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77 | check:
dpkg-deb -c streamtuner2*deb
dpkg-deb -I streamtuner2*deb
rpm -qpil *rpm
# manual installation
install:
$(INST) bin /usr/bin/streamtuner2
$(INST) *.py -d -t $(DEST)
$(INST) channels/ -d -t $(DEST)
$(INST) CREDITS -d -t $(DEST)
$(INST) gtk3.* -d -t $(DEST)
$(INST) help/ -d -t /usr/share/doc/streamtuner2/
$(INST) *.desktop -t /usr/share/applications/
$(INST) help/str*2.1 -t /usr/share/man/man1/
$(INST) icon.png -t /usr/share/pixmaps/streamtuner2.png
$(INST) README -d -t /usr/share/doc/streamtuner2/
# start locally
st2: run
run:
./st2.py |
>
>
|
|
>
|
>
>
|
<
|
>
<
<
| 56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80 | check:
dpkg-deb -c streamtuner2*deb
dpkg-deb -I streamtuner2*deb
rpm -qpil *rpm
# manual installation
install:
mkdir -p $(DEST)/channels
mkdir -p /usr/share/doc/streamtuner2/help/img
install -m 755 bin /usr/bin/streamtuner2
$(INST) *py -t $(DEST)
$(INST) gtk3* -t $(DEST)
$(INST) channels/*py -t $(DEST)/channels
$(INST) help/*page -t /usr/share/doc/streamtuner2/help
$(INST) help/img/* -t /usr/share/doc/streamtuner2/help/img
$(INST) CREDITS -t $(DEST)
$(INST) README -t /usr/share/doc/streamtuner2
$(INST) *.desktop -t /usr/share/applications/
$(INST) icon.png /usr/share/pixmaps/streamtuner2.png
$(INST) help/str*2.1 -t /usr/share/man/man1/
# start locally
st2: run
run:
./st2.py |