wok-current annotate gsasl/receipt @ rev 2506
newt: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 12:31:37 2009 +0000 (2009-03-16) |
parents | 6482ef7f60b1 |
children | 9f19aee613be |
rev | line source |
---|---|
pascal@2132 | 1 # SliTaz package receipt. |
pascal@2132 | 2 |
pascal@2132 | 3 PACKAGE="gsasl" |
pascal@2132 | 4 VERSION="0.2.29" |
pascal@2132 | 5 CATEGORY="system-tools" |
pascal@2132 | 6 SHORT_DESC="Simple Authentication and Security Layer." |
pascal@2132 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2132 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2132 | 9 WEB_SITE="http://www.gnu.org/software/$PACKAGE/" |
pascal@2132 | 10 WGET_URL="ftp://alpha.gnu.org/pub/gnu/$PACKAGE/$TARBALL" |
pascal@2484 | 11 DEPENDS="gnutls libgcrypt libgpg-error ncurses readline zlib" |
pascal@2132 | 12 |
pascal@2132 | 13 # Rules to configure and make the package. |
pascal@2132 | 14 compile_rules() |
pascal@2132 | 15 { |
pascal@2132 | 16 cd $src |
pascal@2132 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2132 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2132 | 19 make && |
pascal@2132 | 20 make DESTDIR=$PWD/_pkg install |
pascal@2132 | 21 } |
pascal@2132 | 22 |
pascal@2132 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2132 | 24 genpkg_rules() |
pascal@2132 | 25 { |
pascal@2132 | 26 mkdir -p $fs/usr/lib |
pascal@2132 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@2132 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2132 | 29 } |
pascal@2132 | 30 |