wok-6.x annotate socat/receipt @ rev 15885
pppd: add /etc/ppp/ip-up.d & /etc/ppp/ip-down.d
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 08 13:29:05 2014 +0000 (2014-02-08) |
parents | e9c875cc07f0 |
children | 32ca8cba1aae |
rev | line source |
---|---|
pascal@2059 | 1 # SliTaz package receipt. |
pascal@2059 | 2 |
pascal@2059 | 3 PACKAGE="socat" |
erjo@2986 | 4 VERSION="2.0.0-b3" |
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@15000 | 8 LICENSE="GPL2" |
pascal@2059 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2059 | 10 WEB_SITE="http://www.dest-unreach.org/$PACKAGE/" |
pascal@2059 | 11 WGET_URL="${WEB_SITE}download/$TARBALL" |
pascal@15000 | 12 |
pascal@2059 | 13 BUILD_DEPENDS="openssl-dev ncurses-dev" |
pascal@2441 | 14 DEPENDS="openssl ncurses libwrap readline" |
pascal@2059 | 15 |
pascal@2059 | 16 # Rules to configure and make the package. |
pascal@2059 | 17 compile_rules() |
pascal@2059 | 18 { |
pascal@2059 | 19 cd $src |
pascal@2059 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2059 | 21 make && |
pascal@15000 | 22 make DESTDIR=$DESTDIR install |
pascal@2059 | 23 } |
pascal@2059 | 24 |
pascal@2059 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2059 | 26 genpkg_rules() |
pascal@2059 | 27 { |
pascal@2059 | 28 mkdir -p $fs/usr |
pascal@15000 | 29 cp -a $install/usr/bin $fs/usr |
pascal@2059 | 30 } |
pascal@2059 | 31 |