wok-4.x annotate corkscrew/receipt @ rev 9610
bash: Fixed bash pre_remove function to work with --root in tazpkg.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Apr 15 14:55:42 2011 +0000 (2011-04-15) |
parents | |
children |
rev | line source |
---|---|
allan316@3238 | 1 # SliTaz package receipt. |
allan316@3238 | 2 |
allan316@3238 | 3 PACKAGE="corkscrew" |
allan316@3238 | 4 VERSION="2.0" |
allan316@3238 | 5 CATEGORY="network" |
allan316@3238 | 6 SHORT_DESC="tool for tunneling ssh through proxies" |
allan316@3238 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3238 | 8 DEPENDS="openssh" |
allan316@3238 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@3238 | 10 WEB_SITE="http://www.agroman.net/corkscrew" |
allan316@3238 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
allan316@3238 | 12 |
allan316@3238 | 13 # Rules to configure and make the package. |
allan316@3238 | 14 compile_rules() |
allan316@3238 | 15 { |
allan316@3238 | 16 cd $src |
allan316@3238 | 17 ./configure \ |
allan316@3238 | 18 --prefix=/usr \ |
allan316@3238 | 19 --infodir=/usr/share/info \ |
allan316@3238 | 20 --mandir=/usr/share/man \ |
allan316@3238 | 21 $CONFIGURE_ARGS && |
allan316@3238 | 22 make && make DESTDIR=$PWD/_pkg install |
allan316@3238 | 23 } |
allan316@3238 | 24 |
allan316@3238 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3238 | 26 genpkg_rules() |
allan316@3238 | 27 { |
allan316@3238 | 28 mkdir -p $fs/usr |
allan316@3238 | 29 cp -a $_pkg/usr/bin $fs/usr |
allan316@3238 | 30 } |
allan316@3238 | 31 |