wok-stable view socat/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents 0d71947173a7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="socat"
4 VERSION="2.0.0-b3"
5 CATEGORY="network"
6 SHORT_DESC="Reads and writes data across network connections."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.dest-unreach.org/$PACKAGE/"
10 WGET_URL="${WEB_SITE}download/$TARBALL"
11 BUILD_DEPENDS="openssl-dev ncurses-dev"
12 DEPENDS="openssl ncurses libwrap readline"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }