[SCM] Packaging of kobodeluxe branch, master, updated. debian/0.5.1-2-4-g29e929c
Damyan Ivanov
dmn at debian.org
Tue Jun 24 12:25:45 UTC 2008
The following commit has been merged in the master branch:
commit e0b46903ca72530555bd6233abf387b09a550df8
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Jun 24 14:25:46 2008 +0300
trim debian/rles a bit using debhelper 7
diff --git a/debian/compat b/debian/compat
index b8626c4..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+7
diff --git a/debian/control b/debian/control
index 4c15bea..5ce1fdd 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: kobodeluxe
Section: games
Priority: optional
-Build-Depends: debhelper (>= 4), dpkg-dev (>= 1.9.0), libsdl-image1.2-dev, libsdl1.2-dev, automake1.7, autotools-dev
+Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.9.0), libsdl-image1.2-dev, libsdl1.2-dev, automake1.7, autotools-dev
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn at debian.org>
Standards-Version: 3.7.3
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..551346a
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+var/games/kobo-deluxe/scores
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..1797f2d
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README*
+TODO
diff --git a/debian/rules b/debian/rules
index 9abd60f..2e2f8e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,55 +1,50 @@
#!/usr/bin/make -f
+SCORES = var/games/kobo-deluxe/scores
+PACKAGE = $(firstword $(shell dh_listpackages))
+TMP = $(CURDIR)/debian/$(PACKAGE)
+
build: build-stamp
build-stamp:
- dh_testdir
+ dh build --before configure
ln -sf /usr/share/misc/config.sub
ln -sf /usr/share/misc/config.guess
aclocal-1.7
automake-1.7
autoconf
- CFLAGS=-g ./configure --bindir=/usr/games --prefix=/usr --sysconfdir=/etc \
+ ./configure --bindir=/usr/games --prefix=/usr --sysconfdir=/etc \
--mandir=/usr/share/man --sharedstatedir=/usr/share
- $(MAKE) kobo_scoredir=/var/games/kobo-deluxe/scores
- touch build-stamp
+ dh build --after configure --before auto_build
+ $(MAKE) kobo_scoredir=/$(SCORES)
+ dh build --after auto_build
+ touch $@
+
+install: install-stamp
+install-stamp:
+ dh install --before auto_install
+ $(MAKE) DESTDIR=$(TMP) kobo_scoredir=/$(SCORES) install
+ rm -rfv $(TMP)/usr/games/kobo-deluxe \
+ $(TMP)/usr/share/kobo-deluxe/scores
+ dh_install debian/kobo-icon.xpm usr/share/pixmaps/
+ dh install --after auto_install --until fixperms
+ chown root.games $(TMP)/usr/games/kobodl \
+ $(TMP)/$(SCORES)
+ chmod 770 $(TMP)/$(SCORES)
+ chmod g+s $(TMP)/usr/games/kobodl
+ dh install --after fixperms
+ touch $@
clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- if [ -e Makefile ]; then $(MAKE) distclean; fi
+ dh $@
dh_clean Makefile.in eel/Makefile.in data/gfx/Makefile.in \
graphics/Makefile.in sound/Makefile.in \
data/sfx/Makefile.in data/Makefile.in aclocal.m4 config.log \
configure config.status config.sub config.guess stamp-h
-binary-indep: build
+binary-indep:
-binary-arch: build
- dh_testdir
- dh_testroot
- dh_clean
- dh_installdirs var/games/kobo-deluxe/scores
- $(MAKE) DESTDIR=`pwd`/debian/kobodeluxe kobo_scoredir=/var/games/kobo-deluxe/scores install
- rm -rf debian/kobodeluxe/usr/games/kobo-deluxe \
- debian/kobodeluxe/usr/share/kobo-deluxe/scores
- dh_install debian/kobo-icon.xpm usr/share/pixmaps/
- dh_installdocs README* TODO -XREADME.osx
- dh_installmenu
- dh_installman
- dh_installchangelogs ChangeLog
- dh_strip
- dh_compress
- dh_fixperms
- chown root.games debian/kobodeluxe/usr/games/kobodl \
- debian/kobodeluxe/var/games/kobo-deluxe/scores
- chmod 770 debian/kobodeluxe/var/games/kobo-deluxe/scores
- chmod g+s debian/kobodeluxe/usr/games/kobodl
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+binary-arch: install
+ dh $@
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build install clean binary-indep binary-arch binary
--
Packaging of kobodeluxe
More information about the Pkg-games-commits
mailing list