# HG changeset patch # User Pascal Bellard # Date 1232535395 0 # Node ID 380efb8c0eb9349806dd211ecbc1e83c51ec0ec5 # Parent 217ec201c18e4ad9e399aab05bbb16ca63f868c9 Add socat diff -r 217ec201c18e -r 380efb8c0eb9 socat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/socat/receipt Wed Jan 21 10:56:35 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="socat" +VERSION="2.0.0-b2" +CATEGORY="network" +SHORT_DESC="Reads and writes data across network connections." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.dest-unreach.org/$PACKAGE/" +WGET_URL="${WEB_SITE}download/$TARBALL" +BUILD_DEPENDS="openssl-dev ncurses-dev" +DEPENDS="openssl ncurses" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} +