-
Notifications
You must be signed in to change notification settings - Fork 0
/
Packfile
24 lines (20 loc) · 806 Bytes
/
Packfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# See http://fossil.include-once.org/xpm/wiki/Packfile
# Applies minor file tweaks right before -t package generation.
all: preprocess $(PACK_TYPE)
# More selective file rewriting
preprocess: $(shell find . -name search.py)m
%.pym: %.py
preprocess -D $(PKG_FLAG) -o $< $<
deb: # complainy lintian needs a custom changelog.gz
gzip -9c usr/share/doc/streamtuner2/NEWS > usr/share/doc/streamtuner2/changelog.gz
zip:
rpm:
exe:
#mv usr/share/streamtuner2/help/help.chm usr/share/doc/streamtuner2/help.chm
#mv usr/share/streamtuner2/dev/streamtuner2.ico usr/share/pixmaps/streamtuner2.ico
sed -i '10 s/"\/usr\/share\/streamtuner2"/os.path.realpath(os.path.dirname(__file__)+"\/..\/share\/streamtuner2")/' usr/bin/streamtuner2
src:
tar:
osxpkg:
arch:
sed -i '1 s/python/python2/' usr/bin/streamtuner2