wok annotate libasyncns/receipt @ rev 25706
BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 26 17:36:15 2024 +0000 (4 months ago) |
parents | 76b72f1ad63c |
children |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
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 |
pascal@14996 | 13 DEPENDS="glibc-base" |
pascal@14996 | 14 |
pascal@24425 | 15 # What is the latest version available today? |
pascal@24425 | 16 current_version() |
pascal@24425 | 17 { |
pascal@24425 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 19 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 20 } |
pascal@24425 | 21 |
slaxemulator@6754 | 22 # Rules to configure and make the package. |
slaxemulator@6754 | 23 compile_rules() |
slaxemulator@6754 | 24 { |
slaxemulator@6754 | 25 cd $src |
slaxemulator@6754 | 26 ./configure \ |
slaxemulator@6754 | 27 --prefix=/usr \ |
slaxemulator@6754 | 28 --infodir=/usr/share/info \ |
slaxemulator@6754 | 29 --mandir=/usr/share/man \ |
slaxemulator@6754 | 30 --disable-lynx \ |
slaxemulator@6754 | 31 $CONFIGURE_ARGS && |
pascal@14996 | 32 make && make DESTDIR=$DESTDIR install |
slaxemulator@6754 | 33 } |
slaxemulator@6754 | 34 |
slaxemulator@6754 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6754 | 36 genpkg_rules() |
slaxemulator@6754 | 37 { |
slaxemulator@6754 | 38 mkdir -p $fs/usr/lib |
pascal@14996 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6754 | 40 } |
slaxemulator@6754 | 41 |