wok-current annotate sockets/receipt @ rev 25716
Adjust mesa depends and fix loop for libegl-mesa,libglx-mesa / mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 14:46:05 2024 +0000 (5 months ago) |
parents | ad8b9ff412d2 |
children |
rev | line source |
---|---|
pascal@14167 | 1 # SliTaz package receipt. |
pascal@14167 | 2 |
pascal@14167 | 3 PACKAGE="sockets" |
Hans-G?nter@21928 | 4 VERSION="2.3.9.9" |
pascal@14167 | 5 CATEGORY="development" |
pascal@14167 | 6 SHORT_DESC="C++ Sockets library." |
pascal@14167 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
pascal@25448 | 9 WEB_SITE="https://web.archive.org/web/20220328044321/https://www.alhem.net/Sockets/" |
Hans-G?nter@21928 | 10 |
Hans-G?nter@21928 | 11 SOURCE="Sockets" |
pascal@14167 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@25448 | 13 WGET_URL="https://web.archive.org/web/20150806023209/http://www.alhem.net/Sockets/$TARBALL" |
pascal@14167 | 14 |
pascal@14167 | 15 DEPENDS="gcc-lib-base" |
Hans-G?nter@21928 | 16 BUILD_DEPENDS="e2fsprogs-dev openssl-dev" |
pascal@14167 | 17 |
pascal@24433 | 18 # What is the latest version available today? |
pascal@24433 | 19 current_version() |
pascal@24433 | 20 { |
pascal@24433 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24433 | 22 sed '/version/!d;s|version <b>||;s|<.*||;q' |
pascal@24433 | 23 } |
pascal@24433 | 24 |
pascal@14167 | 25 # Rules to configure and make the package. |
pascal@14167 | 26 compile_rules() |
pascal@14167 | 27 { |
Hans-G?nter@21928 | 28 make PREFIX=/usr && |
Hans-G?nter@21928 | 29 make install DESTDIR=$DESTDIR PREFIX=/usr |
pascal@14167 | 30 } |
pascal@14167 | 31 |
pascal@14167 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14167 | 33 genpkg_rules() |
pascal@14167 | 34 { |
pascal@14167 | 35 cp -a $install/usr $fs/ |
pascal@14167 | 36 } |