Fix creating debian/control file on Maemo

This commit is contained in:
Pali Rohár 2010-08-02 17:50:23 +02:00
parent 12bb89b488
commit 76bf2d5236

4
debian/rules vendored
View file

@ -97,9 +97,9 @@ binary-arch: build install
# Maemo section - Hildon Application Manager
if [ -f /etc/maemo_version ]; then \
sed "s/Section: .*/Section: user\/games/" -i $(CURDIR)/debian/stratagus/DEBIAN/control; \
echo "Maemo-Display-Name: Strategy gaming engine" >> $(CURDIR)/debian/stratagus/DEBIAN/control; \
echo "Maemo-Icon-26:" >> $(CURDIR)/debian/stratagus/DEBIAN/control; \
echo "XSBC-Bugtracker: https://bugs.launchpad.net/stratagus" >> $(CURDIR)/debian/stratagus/DEBIAN/control; \
echo "Maemo-Display-Name: Stratagus" >> $(CURDIR)/debian/stratagus/DEBIAN/control; \
echo "Maemo-Icon-26:" >> $(CURDIR)/debian/stratagus/DEBIAN/control; \
for line in $(shell convert contrib/stratagus.ico -resize 48x48 png:- | uuencode -m - | tail -n +2 | head -n -1); do \
echo " $$line" >> $(CURDIR)/debian/stratagus/DEBIAN/control; \
done; \