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