wok-current annotate libdnet/receipt @ rev 25068
updated alsa-tools packages (1.1.5 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:52:51 2022 +0100 (2022-06-10) |
parents | b569b85b0fb9 |
children |
rev | line source |
---|---|
slaxemulator@6607 | 1 # SliTaz package receipt. |
slaxemulator@6607 | 2 |
slaxemulator@6607 | 3 PACKAGE="libdnet" |
Hans-G?nter@24729 | 4 VERSION="1.14" |
slaxemulator@6607 | 5 CATEGORY="network" |
Hans-G?nter@24729 | 6 SHORT_DESC="A simplified, portable interface to several low-level networking routines." |
slaxemulator@6607 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15472 | 8 LICENSE="BSD" |
Hans-G?nter@24729 | 9 WEB_SITE="https://github.com/ofalk/libdnet" |
Hans-G?nter@24729 | 10 |
Hans-G?nter@24729 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24729 | 12 WGET_URL="$WEB_SITE/archive/$TARBALL" |
slaxemulator@6607 | 13 |
pascal@15472 | 14 DEPENDS="python" |
pascal@15472 | 15 BUILD_DEPENDS="python python-dev" |
pascal@15472 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
slaxemulator@6607 | 24 # Rules to configure and make the package. |
slaxemulator@6607 | 25 compile_rules() |
slaxemulator@6607 | 26 { |
Hans-G?nter@24729 | 27 ./configure \ |
Hans-G?nter@24729 | 28 --prefix=/usr \ |
Hans-G?nter@24729 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@24729 | 30 --mandir=/usr/share/man \ |
slaxemulator@6607 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24729 | 32 make && |
Hans-G?nter@24729 | 33 make install DESTDIR=$DESTDIR |
slaxemulator@6607 | 34 } |
slaxemulator@6607 | 35 |
slaxemulator@6607 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6607 | 37 genpkg_rules() |
slaxemulator@6607 | 38 { |
Hans-G?nter@24729 | 39 cook_copy_folders sbin |
Hans-G?nter@24729 | 40 cook_copy_files *.so* |
slaxemulator@6607 | 41 } |