wok annotate dnstracer/receipt @ rev 24809
created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:52:59 2022 +0100 (2022-03-22) |
parents | eb8067417980 |
children |
rev | line source |
---|---|
pascal@14377 | 1 # SliTaz package receipt. |
pascal@14377 | 2 |
pascal@14377 | 3 PACKAGE="dnstracer" |
pascal@14377 | 4 VERSION="1.9" |
pascal@14377 | 5 CATEGORY="network" |
pascal@14377 | 6 SHORT_DESC="Traces a chain of DNS servers to the source." |
pascal@14377 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15579 | 8 LICENSE="BSD" |
pascal@14377 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14377 | 10 WEB_SITE="http://www.mavetju.org/unix/dnstracer.php" |
pascal@14377 | 11 WGET_URL="http://www.mavetju.org/download/$TARBALL" |
pascal@14377 | 12 |
pascal@15579 | 13 DEPENDS="" |
pascal@15579 | 14 BUILD_DEPENDS="autoconf" |
pascal@15579 | 15 |
pascal@24439 | 16 # What is the latest version available today? |
pascal@24439 | 17 current_version() |
pascal@24439 | 18 { |
pascal@24439 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24439 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24439 | 21 } |
pascal@24439 | 22 |
pascal@14377 | 23 # Rules to configure and make the package. |
pascal@14377 | 24 compile_rules() |
pascal@14377 | 25 { |
pascal@14377 | 26 cd $src |
pascal@14377 | 27 autoconf |
pascal@14377 | 28 ./configure \ |
pascal@14377 | 29 --prefix=/usr \ |
pascal@14377 | 30 $CONFIGURE_ARGS && |
pascal@14377 | 31 make && make install |
pascal@14377 | 32 } |
pascal@14377 | 33 |
pascal@14377 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14377 | 35 genpkg_rules() |
pascal@14377 | 36 { |
pascal@14377 | 37 mkdir -p $fs/usr |
pascal@14377 | 38 cp -a $install/usr/bin $fs/usr |
pascal@14377 | 39 } |
pascal@14377 | 40 |