wok annotate sockets/receipt @ rev 14799
Up: xz (5.0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 13 15:04:42 2013 +0200 (2013-07-13) |
parents | |
children | 3b4e4318134e |
rev | line source |
---|---|
pascal@14167 | 1 # SliTaz package receipt. |
pascal@14167 | 2 |
pascal@14167 | 3 PACKAGE="sockets" |
pascal@14167 | 4 SOURCE="Sockets" |
pascal@14167 | 5 VERSION="2.3.9.7" |
pascal@14167 | 6 CATEGORY="development" |
pascal@14167 | 7 SHORT_DESC="C++ Sockets library." |
pascal@14167 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14167 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14167 | 10 WEB_SITE="http://www.alhem.net/Sockets/" |
pascal@14167 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@14167 | 12 |
pascal@14167 | 13 DEPENDS="gcc-lib-base" |
pascal@14167 | 14 BUILD_DEPENDS="openssl-dev e2fsprogs-dev" |
pascal@14167 | 15 |
pascal@14167 | 16 # Rules to configure and make the package. |
pascal@14167 | 17 compile_rules() |
pascal@14167 | 18 { |
pascal@14167 | 19 cd $src |
pascal@14167 | 20 sed -i 's|/usr/local|/usr|' Makefile* |
pascal@14167 | 21 make && |
pascal@14167 | 22 make DESTDIR=$DESTDIR install |
pascal@14167 | 23 } |
pascal@14167 | 24 |
pascal@14167 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14167 | 26 genpkg_rules() |
pascal@14167 | 27 { |
pascal@14167 | 28 cp -a $install/usr $fs/ |
pascal@14167 | 29 } |