wok-stable annotate socat/receipt @ rev 2276
Up: tor (0.2.0.34)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Feb 18 17:23:50 2009 +0000 (2009-02-18) |
parents | |
children | 0d71947173a7 |
rev | line source |
---|---|
pascal@2059 | 1 # SliTaz package receipt. |
pascal@2059 | 2 |
pascal@2059 | 3 PACKAGE="socat" |
pascal@2059 | 4 VERSION="2.0.0-b2" |
pascal@2059 | 5 CATEGORY="network" |
pascal@2059 | 6 SHORT_DESC="Reads and writes data across network connections." |
pascal@2059 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2059 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2059 | 9 WEB_SITE="http://www.dest-unreach.org/$PACKAGE/" |
pascal@2059 | 10 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@2059 | 11 BUILD_DEPENDS="openssl-dev ncurses-dev" |
pascal@2059 | 12 DEPENDS="openssl ncurses" |
pascal@2059 | 13 |
pascal@2059 | 14 # Rules to configure and make the package. |
pascal@2059 | 15 compile_rules() |
pascal@2059 | 16 { |
pascal@2059 | 17 cd $src |
pascal@2059 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2059 | 19 make && |
pascal@2059 | 20 make DESTDIR=$PWD/_pkg install |
pascal@2059 | 21 } |
pascal@2059 | 22 |
pascal@2059 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2059 | 24 genpkg_rules() |
pascal@2059 | 25 { |
pascal@2059 | 26 mkdir -p $fs/usr |
pascal@2059 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@2059 | 28 } |
pascal@2059 | 29 |