On 25 May 2002 18:34:08 +0200, Lukas Geyer <[EMAIL PROTECTED]> wrote: > I built a Debian package for sjeng, a chess engine which is capable of > playing several variants (suicide, crazyhouse, bughouse) in addition > to normal chess. It works fine with eboard and xboard, license is GPL, > and there was a RFP for it, which I changed to ITP (#130019). Upstream > source is at http://sjeng.sourceforge.net, my package (source and > powerpc-binary) is at > > http://www.mathematik.uni-dortmund.de/lsix/geyer/debian It seems interesting. Some comments:
debian/rules says: | ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) | CFLAGS += -g | endif This won't work because the upstream Makefile defines CFLAGS in it. Add export CFLAGS = -O2 before the ifneq line to control how ./configure defines CFLAGS. | ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) | INSTALL_PROGRAM += -s | endif This is unnecessary because the upstream does not strip the binary by default and dh_strip does the right thing. If you use debhelper version 3 or later, it marks every file in /etc as conffile even if the file is in debian/conffiles. Having debian/conffiles may cause a duplicated entry of Conffiles:. -- Oohara Yuuma <[EMAIL PROTECTED]> Debian developer PGP key (key ID F464A695) http://www.interq.or.jp/libra/oohara/pub-key.txt Key fingerprint = 6142 8D07 9C5B 159B C170 1F4A 40D6 F42E F464 A695 I always put away what I take. --- Ryuji Akai, "Star away" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]