wok annotate ndisc6/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (13 days ago) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
pascal@6990 | 1 # SliTaz package receipt. |
pascal@6990 | 2 |
pascal@6990 | 3 PACKAGE="ndisc6" |
pascal@6990 | 4 VERSION="0.9.9" |
pascal@6990 | 5 CATEGORY="network" |
pascal@6990 | 6 SHORT_DESC="IPv6 diagnostic tools." |
pascal@6990 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
pascal@6990 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6990 | 10 WEB_SITE="http://rdnssd.linkfanel.net/" |
pascal@24974 | 11 WGET_URL="https://www.remlab.net/files/$PACKAGE/$TARBALL" |
pascal@6990 | 12 DEPENDS="perl" |
pascal@6990 | 13 CONFIG_FILES="/etc/rdnssd" |
pascal@6990 | 14 |
pascal@24453 | 15 # What is the latest version available today? |
pascal@24453 | 16 current_version() |
pascal@24453 | 17 { |
pascal@24453 | 18 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24453 | 20 } |
pascal@24453 | 21 |
pascal@6990 | 22 # Rules to configure and make the package. |
pascal@6990 | 23 compile_rules() |
pascal@6990 | 24 { |
pascal@6990 | 25 cd $src |
pascal@6990 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6990 | 27 --localstatedir=/var --sysconfdir=/etc \ |
pascal@6990 | 28 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@15584 | 29 make && make DESTDIR=$DESTDIR install |
pascal@6990 | 30 } |
pascal@6990 | 31 |
pascal@6990 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6990 | 33 genpkg_rules() |
pascal@6990 | 34 { |
pascal@6990 | 35 mkdir -p $fs/usr |
pascal@15584 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 37 cp -a $install/usr/sbin $fs/usr |
pascal@15584 | 38 cp -a $install/var $fs |
pascal@15584 | 39 cp -a $install/etc $fs |
pascal@6990 | 40 } |