create the quakeforge-stub package (whee, my first .deb:)

This commit is contained in:
Bill Currie 2004-04-07 02:09:21 +00:00
parent c188159384
commit 6812794b31
4 changed files with 28 additions and 0 deletions

1
debian/.gitignore vendored
View file

@ -17,6 +17,7 @@ quakeforge-oss
quakeforge-sdl
quakeforge-servers
quakeforge-sgl
quakeforge-stub
quakeforge-svga
quakeforge-utils
quakeforge-x11

11
debian/control vendored
View file

@ -29,6 +29,17 @@ Description: QuakeForge 3D game engine - common files
This package contains files and shared libraries common to all QuakeForge
packages.
Package: quakeforge-stub
Provides: quake-game
Architecture: any
Description: QuakeForge 3D game engine - common files
QuakeForge is a source port of Quake and QuakeWorld, the successors to id
Software's very popular DOOM series. Its primary development goal is to
remain compatible with the original games released by id Software while
adding portability and optional extensions to enhance gameplay.
.
This sub-package provides the quake-game pseudo package.
Package: quakeforge-dev
Architecture: any
Depends: quakeforge-common

11
debian/quakeforge-stub.postinst vendored Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh -e
if test ! -f /usr/share/games/quakeforge/id1/pak0.pak; then
echo Warning: /usr/share/games/quakeforge/id1/pak0.pak not found
echo Install either the shareware or registered quake data in
echo /usr/share/games/quakeforge
fi
#DEBHELPER#
exit 0

5
debian/rules vendored
View file

@ -10,6 +10,7 @@ export DH_COMPAT=2
PACKAGE := quakeforge
QFCC := qfcc
common := $(PACKAGE)-common
stub := $(PACKAGE)-stub
maptools := $(PACKAGE)-maptools
dev := $(PACKAGE)-dev
@ -81,6 +82,7 @@ install: build
# Add here commands to install the package into debian/tmp.
$(MAKE) DESTDIR=$(build) install
install -m644 -D debian/quakeforge.conf $(build)/etc/quakeforge.conf
mkdir $(build)/usr/share/games/quakeforge/id1
# quakeforge-common
find $(tmp)/etc ! -type d | sed -e "s:^$(tmp)::" > debian/$(common).conffiles
@ -106,6 +108,9 @@ install: build
dh_installdocs -p$(common) NEWS TODO
dh_installchangelogs -p$(common) ChangeLog
# quakeforge-stub
install -d -m755 debian/$(stub)/usr/share/games/quakeforge/id1
# quakeforge-dev
dh_movefiles -p$(dev) --sourcedir=$(tmp) \
usr/lib/libQFcd.*a \