1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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 -d python-pyquery -d python-gtk2 -d python-requests -d python-keybinder
DEPS_A := -n $(NAME) -d pygtk -d python2 -d python2-cssselect -d python2-keybinder2 -d python2-lxml -d python2-pillow -d python2-pyquery -d python2-xdg -d python2-requests --provides streamtuner-python
OPTS := -s src -u packfile,fixperms -f --prefix=$(DEST) --deb-compression=xz --rpm-compression=xz --exe-autoextract
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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.2dev)
DEST := /usr/share/streamtuner2
INST := install -m 644
PACK := xpm
DEPS := -n $(NAME) -d python -d python-pyquery -d python-gtk2 -d python-requests -d python-keybinder
DEPS_A := -n $(NAME) -d pygtk -d python2 -d python2-cssselect -d python2-keybinder2 -d python2-lxml -d python2-pillow -d python2-pyquery -d python2-xdg -d python2-requests --provides streamtuner-python
OPTS := -s src -u packfile,fixperms -f --prefix=$(DEST) --deb-compression=xz --rpm-compression=xz --exe-autoextract
|
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
upload:
scp *.{deb,rpm,exe,pyz,arch.txz,txz} io:st2/
# 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)
|
>
|
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
check:
dpkg-deb -c streamtuner2*deb
dpkg-deb -I streamtuner2*deb
rpm -qpil *rpm
upload:
scp *.{deb,rpm,exe,pyz,arch.txz,txz} io:st2/
scp *.{deb,rpm,exe,pyz,arch.txz,txz} sf:/home/frs/project/streamtuner2/
# 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)
|