wok-6.x annotate libasyncns/receipt @ rev 12764
Up broadcom-wl (5_100_82_112)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 13:52:35 2012 +0200 (2012-05-12) |
parents | |
children | 76b72f1ad63c |
rev | line source |
---|---|
slaxemulator@6754 | 1 # SliTaz package receipt. |
slaxemulator@6754 | 2 |
slaxemulator@6754 | 3 PACKAGE="libasyncns" |
slaxemulator@6754 | 4 VERSION="0.8" |
slaxemulator@6754 | 5 CATEGORY="development" |
slaxemulator@6754 | 6 SHORT_DESC="A C library for Linux/Unix for executing name service queries asynchronously." |
slaxemulator@6754 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6754 | 8 DEPENDS="glibc-base" |
slaxemulator@6754 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6754 | 10 WEB_SITE="http://0pointer.de/lennart/projects/libasyncns" |
slaxemulator@6754 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@6754 | 12 |
slaxemulator@6754 | 13 # Rules to configure and make the package. |
slaxemulator@6754 | 14 compile_rules() |
slaxemulator@6754 | 15 { |
slaxemulator@6754 | 16 cd $src |
slaxemulator@6754 | 17 ./configure \ |
slaxemulator@6754 | 18 --prefix=/usr \ |
slaxemulator@6754 | 19 --infodir=/usr/share/info \ |
slaxemulator@6754 | 20 --mandir=/usr/share/man \ |
slaxemulator@6754 | 21 --disable-lynx \ |
slaxemulator@6754 | 22 $CONFIGURE_ARGS && |
slaxemulator@6754 | 23 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6754 | 24 } |
slaxemulator@6754 | 25 |
slaxemulator@6754 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6754 | 27 genpkg_rules() |
slaxemulator@6754 | 28 { |
slaxemulator@6754 | 29 mkdir -p $fs/usr/lib |
slaxemulator@6754 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6754 | 31 } |
slaxemulator@6754 | 32 |