wok diff deutex-devel/receipt @ rev 10024

glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 18:19:46 2011 +0200 (2011-05-19)
parents
children eb8067417980
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/deutex-devel/receipt	Thu May 19 18:19:46 2011 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="deutex-devel"
     1.7 +VERSION="4.4.902"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A WAD file composer for Doom, Heretic, Hexen and Strife."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +SOURCE="deutex"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.teaser.fr/~amajorel/deutex/"
    1.14 +WGET_URL="http://www.teaser.fr/~amajorel/deutex/fungus/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	mkdir -p $DESTDIR/usr/bin
    1.21 +	mkdir -p $DESTDIR/usr/share/man/man6
    1.22 +	./configure --cflags="${CFLAGS}" && 
    1.23 +	make && 
    1.24 +	make BINDIR=$DESTDIR/usr/bin MANDIR=$DESTDIR/usr/share/man install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +}
    1.33 +