wok-current view vanessa_socket/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 89c8d8b6cf48 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vanessa_socket"
4 VERSION="0.0.13"
5 CATEGORY="network"
6 SHORT_DESC="Simplifies TCP/IP socket operations."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://projects.horms.net/projects/vanessa/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://projects.horms.net/projects/vanessa/download/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="popt vanessa_logger"
15 BUILD_DEPENDS="popt-dev vanessa_logger-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://projects.horms.net/projects/vanessa/download/vanessa_socket/ 2>/dev/null | \
21 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }