wok-current annotate pptpclient/receipt @ rev 13661
ccid: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 21 21:52:14 2012 +0100 (2012-11-21) |
parents | f135405894d8 |
children | b768ede0c5cb |
rev | line source |
---|---|
pascal@3762 | 1 # SliTaz package receipt. |
pascal@3762 | 2 |
pascal@3762 | 3 PACKAGE="pptpclient" |
pascal@3762 | 4 VERSION="1.7.2" |
pascal@3766 | 5 CATEGORY="network" |
pascal@3762 | 6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol client." |
pascal@3762 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3762 | 8 SOURCE="pptp" |
pascal@3762 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3762 | 10 WEB_SITE="http://pptpclient.sourceforge.net/" |
pascal@3762 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@3762 | 12 DEPENDS="ppp" |
pascal@3762 | 13 BUILD_DEPENDS="ppp" |
pascal@3764 | 14 TAGS="vpn tunnel" |
pascal@3762 | 15 |
pascal@3762 | 16 # Rules to configure and make the package. |
pascal@3762 | 17 compile_rules() |
pascal@3762 | 18 { |
pascal@3762 | 19 cd $src |
pascal@3762 | 20 make && |
pascal@3762 | 21 make DESTDIR=$PWD/_pkg install |
pascal@3762 | 22 } |
pascal@3762 | 23 |
pascal@3762 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3762 | 25 genpkg_rules() |
pascal@3762 | 26 { |
pascal@3762 | 27 mkdir -p $fs/usr/sbin |
pascal@3762 | 28 cp -a $_pkg/usr/sbin/pptp $fs/usr/sbin |
pascal@3762 | 29 } |
pascal@3762 | 30 |