wok-current annotate poptop/receipt @ rev 14837
thunar-volman: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 17 16:28:45 2013 +0200 (2013-07-17) |
parents | e623451e5750 |
children | 742054c507b6 |
rev | line source |
---|---|
pascal@3763 | 1 # SliTaz package receipt. |
pascal@3763 | 2 |
pascal@3763 | 3 PACKAGE="poptop" |
pascal@3763 | 4 VERSION="1.3.4" |
pascal@3766 | 5 CATEGORY="network" |
pascal@3763 | 6 SHORT_DESC="Microsoft Point-to-Point Tunneling Protocol server." |
pascal@3763 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3763 | 8 SOURCE="pptpd" |
pascal@3763 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3763 | 10 WEB_SITE="http://www.poptop.org/" |
pascal@3763 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@3765 | 12 TAGS="vpn tunnel" |
pascal@3763 | 13 |
pascal@3763 | 14 # Rules to configure and make the package. |
pascal@3763 | 15 compile_rules() |
pascal@3763 | 16 { |
pascal@3763 | 17 cd $src |
pascal@3763 | 18 sed -i "s|^LIBDIR.*|LIBDIR=$PWD/_pkg/usr/lib/pptpd|" plugins/Makefile |
pascal@3763 | 19 ./configure --prefix=/usr \ |
pascal@3763 | 20 --mandir=/usr/share/man \ |
pascal@3763 | 21 $CONFIGURE_ARGS && |
pascal@3763 | 22 make && |
pascal@3763 | 23 make DESTDIR=$PWD/_pkg install |
pascal@3763 | 24 } |
pascal@3763 | 25 |
pascal@3763 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3763 | 27 genpkg_rules() |
pascal@3763 | 28 { |
pascal@3763 | 29 mkdir -p $fs/usr |
pascal@3763 | 30 cp -a $_pkg/usr/sbin $fs/usr |
pascal@3763 | 31 } |
pascal@3763 | 32 |