wok rev 14167

Add sockets
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 08 09:22:27 2013 +0100 (2013-03-08)
parents 960ced26f06d
children 7ae80fa5a40a
files sockets/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sockets/receipt	Fri Mar 08 09:22:27 2013 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sockets"
     1.7 +SOURCE="Sockets"
     1.8 +VERSION="2.3.9.7"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="C++ Sockets library."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.alhem.net/Sockets/"
    1.14 +WGET_URL="${WEB_SITE}$TARBALL"
    1.15 +
    1.16 +DEPENDS="gcc-lib-base"
    1.17 +BUILD_DEPENDS="openssl-dev e2fsprogs-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	sed -i 's|/usr/local|/usr|' Makefile*
    1.24 +	make &&
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/usr $fs/
    1.32 +}