wok-current annotate sockets/receipt @ rev 14167

Add sockets
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 09:22:27 2013 +0100 (2013-03-08)
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 }