wok annotate libidn/receipt @ rev 8615
Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 19:09:46 2011 +0100 (2011-02-14) |
parents | acb8abe86ce3 |
children | 6c86b2ce4a43 |
rev | line source |
---|---|
pascal@2133 | 1 # SliTaz package receipt. |
pascal@2133 | 2 |
pascal@2133 | 3 PACKAGE="libidn" |
slaxemulator@6548 | 4 VERSION="1.19" |
pascal@2133 | 5 CATEGORY="system-tools" |
pascal@2133 | 6 SHORT_DESC="Encode and decode internationalized domain names." |
pascal@2133 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2133 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2133 | 9 WEB_SITE="http://www.gnu.org/software/$PACKAGE/" |
pascal@2133 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@2133 | 11 |
pascal@2133 | 12 # Rules to configure and make the package. |
pascal@2133 | 13 compile_rules() |
pascal@2133 | 14 { |
pascal@2133 | 15 cd $src |
pascal@2133 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2133 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2133 | 18 make && |
pascal@2133 | 19 make DESTDIR=$PWD/_pkg install |
pascal@2133 | 20 } |
pascal@2133 | 21 |
pascal@2133 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2133 | 23 genpkg_rules() |
pascal@2133 | 24 { |
pascal@2133 | 25 mkdir -p $fs/usr/lib |
pascal@2133 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@2133 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2133 | 28 } |
pascal@2133 | 29 |