wok-current view sockets/receipt @ rev 24781

Up ntk (1.3.1001)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 10:32:22 2022 +0000 (2022-03-20)
parents c02f18f9e836
children 03fa4e9f1f0b
line source
1 # SliTaz package receipt.
3 PACKAGE="sockets"
4 VERSION="2.3.9.9"
5 CATEGORY="development"
6 SHORT_DESC="C++ Sockets library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.alhem.net/Sockets/"
11 SOURCE="Sockets"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 DEPENDS="gcc-lib-base"
16 BUILD_DEPENDS="e2fsprogs-dev openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/version/!d;s|version <b>||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make PREFIX=/usr &&
29 make install DESTDIR=$DESTDIR PREFIX=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs/
36 }