wok-current view vanessa_socket/receipt @ rev 25048
glusterfs: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 14:47:50 2022 +0000 (2022-06-04) |
parents | 8c1e8618de66 |
children | 8ea0030e77cb |
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="http://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 }