wok annotate vanessa_adt/receipt @ rev 24949
updated nagios-nsca (2.9.2 -> 2.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 22 17:54:28 2022 +0100 (2022-04-22) |
parents | 2a0479881723 |
children |
rev | line source |
---|---|
pascal@1215 | 1 # SliTaz package receipt. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_adt" |
pascal@18804 | 4 VERSION="0.0.9" |
pascal@1215 | 5 CATEGORY="network" |
pascal@1215 | 6 SHORT_DESC="Abstract Data Types." |
pascal@1215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
pascal@18804 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24614 | 10 WEB_SITE="https://projects.horms.net/projects/vanessa/" |
pascal@1215 | 11 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" |
pascal@15363 | 12 |
pascal@1215 | 13 DEPENDS="vanessa_logger" |
pascal@1215 | 14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger" |
pascal@1215 | 15 |
pascal@24436 | 16 # What is the latest version available today? |
pascal@24436 | 17 current_version() |
pascal@24436 | 18 { |
pascal@24436 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24436 | 20 sed '/\/vanessa_adt\//!d;s|.*vanessa_adt/||;s|/.*||;q' |
pascal@24436 | 21 } |
pascal@24436 | 22 |
pascal@1215 | 23 # Rules to configure and make the package. |
pascal@1215 | 24 compile_rules() |
pascal@1215 | 25 { |
pascal@1215 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@18804 | 27 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1564 | 28 make && |
pascal@15363 | 29 make DESTDIR=$DESTDIR install |
pascal@1215 | 30 } |
pascal@1215 | 31 |
pascal@1215 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1215 | 33 genpkg_rules() |
pascal@1215 | 34 { |
pascal@1215 | 35 mkdir -p $fs/usr/lib |
pascal@15363 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1215 | 37 } |