# HG changeset patch # User Pascal Bellard # Date 1362730947 -3600 # Node ID 990f8bfa7b6d9ed2d2d80be6293d190397cd1720 # Parent 960ced26f06d5f9158f35178dd8b77fbd5da0829 Add sockets diff -r 960ced26f06d -r 990f8bfa7b6d sockets/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sockets/receipt Fri Mar 08 09:22:27 2013 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="sockets" +SOURCE="Sockets" +VERSION="2.3.9.7" +CATEGORY="development" +SHORT_DESC="C++ Sockets library." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.alhem.net/Sockets/" +WGET_URL="${WEB_SITE}$TARBALL" + +DEPENDS="gcc-lib-base" +BUILD_DEPENDS="openssl-dev e2fsprogs-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + sed -i 's|/usr/local|/usr|' Makefile* + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +}