wok annotate miau/receipt @ rev 9053
php-auth-sasl: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:29:26 2011 +0100 (2011-03-04) |
parents | |
children | 02bbaa9d12ba |
rev | line source |
---|---|
pascal@1752 | 1 # SliTaz package receipt. |
pascal@1752 | 2 |
pascal@1752 | 3 PACKAGE="miau" |
pascal@1752 | 4 VERSION="0.6.5" |
pascal@1752 | 5 CATEGORY="network" |
pascal@1752 | 6 SHORT_DESC="Another IRC-bouncer/proxy." |
pascal@1752 | 7 MAINTAINER="christophe.paris@free.fr" |
pascal@1752 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1752 | 9 WEB_SITE="http://miau.sourceforge.net/" |
pascal@1752 | 10 WGET_URL="http://downloads.sourceforge.net/miau/$TARBALL" |
pascal@1752 | 11 |
pascal@1752 | 12 # Rules to configure and make the package. |
pascal@1752 | 13 compile_rules() |
pascal@1752 | 14 { |
pascal@1752 | 15 cd $src |
pascal@1752 | 16 ./configure \ |
pascal@1752 | 17 --prefix=/usr \ |
pascal@1752 | 18 --infodir=/usr/share/info \ |
pascal@1752 | 19 --mandir=/usr/share/man \ |
pascal@1752 | 20 --docdir=/usr/share/doc \ |
pascal@1752 | 21 $CONFIGURE_ARGS && |
pascal@1752 | 22 make && |
pascal@1752 | 23 make DESTDIR=$PWD/_pkg install |
pascal@1752 | 24 } |
pascal@1752 | 25 |
pascal@1752 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1752 | 27 genpkg_rules() |
pascal@1752 | 28 { |
pascal@1752 | 29 mkdir -p $fs/usr |
pascal@1752 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@1752 | 31 strip -s $fs/usr/bin/miau |
pascal@1752 | 32 cp -a $_pkg/usr/share $fs/usr |
pascal@1752 | 33 } |