wok-current annotate libdnet/receipt @ rev 24689
updated jp2a (1.0.9 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 13:47:37 2022 +0100 (2022-03-12) |
parents | eeba7ab1dffe |
children | b072bd03c2c6 |
rev | line source |
---|---|
slaxemulator@6607 | 1 # SliTaz package receipt. |
slaxemulator@6607 | 2 |
slaxemulator@6607 | 3 PACKAGE="libdnet" |
slaxemulator@6607 | 4 VERSION="1.12" |
slaxemulator@6607 | 5 CATEGORY="network" |
slaxemulator@6607 | 6 SHORT_DESC="A simplified, portable interface to serveral low-level networking routines" |
slaxemulator@6607 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15472 | 8 LICENSE="BSD" |
slaxemulator@6607 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20674 | 10 WEB_SITE="https://github.com/dugsong/libdnet" |
slaxemulator@6607 | 11 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL" |
slaxemulator@6607 | 12 |
pascal@15472 | 13 DEPENDS="python" |
pascal@15472 | 14 BUILD_DEPENDS="python python-dev" |
pascal@15472 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
slaxemulator@6607 | 23 # Rules to configure and make the package. |
slaxemulator@6607 | 24 compile_rules() |
slaxemulator@6607 | 25 { |
slaxemulator@6607 | 26 cd $src |
slaxemulator@6607 | 27 ./configure \ |
slaxemulator@6607 | 28 --prefix=/usr \ |
slaxemulator@6607 | 29 --infodir=/usr/share/info \ |
slaxemulator@6607 | 30 --mandir=/usr/share/man \ |
slaxemulator@6607 | 31 $CONFIGURE_ARGS && |
pascal@15472 | 32 make && make DESTDIR=$DESTDIR install |
slaxemulator@6607 | 33 } |
slaxemulator@6607 | 34 |
slaxemulator@6607 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6607 | 36 genpkg_rules() |
slaxemulator@6607 | 37 { |
slaxemulator@6607 | 38 mkdir -p $fs/usr/lib |
pascal@15472 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@15472 | 40 cp -a $install/usr/lib/libdnet $fs/usr/lib |
pascal@15472 | 41 cp -a $install/usr/lib/*.1* $fs/usr/lib |
slaxemulator@6607 | 42 } |
slaxemulator@6607 | 43 |