wok-current view sockets/receipt @ rev 25187
mencoder: reordered recipe
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 12 10:44:40 2022 +0100 (2022-07-12) |
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 }