wok annotate sockets/receipt @ rev 25246

updated python-urwid (2.1.0 -> 2.1.2)
author Hans-G?nter Theisgen
date Thu Jul 14 07:16:15 2022 +0100 (2022-07-14)
parents c02f18f9e836
children 03fa4e9f1f0b
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@23844 9 WEB_SITE="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@14167 13 WGET_URL="${WEB_SITE}$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 }