wok view sockets/receipt @ rev 25448

Add scikit-build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 09 09:27:07 2022 +0000 (20 months ago)
parents ad8b9ff412d2
children
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://web.archive.org/web/20220328044321/https://www.alhem.net/Sockets/"
11 SOURCE="Sockets"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://web.archive.org/web/20150806023209/http://www.alhem.net/Sockets/$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 }