wok-6.x annotate poptop/receipt @ rev 15456
Up: ethumb-dev (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:58:17 2013 +0100 (2013-11-05) |
parents | aa4c910539a1 |
children | 5b7188f5cd91 |
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@15219 | 8 LICENSE="GPL2" |
pascal@3763 | 9 SOURCE="pptpd" |
pascal@3763 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@3763 | 11 WEB_SITE="http://www.poptop.org/" |
pascal@3763 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@3765 | 13 TAGS="vpn tunnel" |
pascal@15219 | 14 CONFIG_FILES="/etc/pptp.conf /etc/ppp" |
pascal@15219 | 15 |
pascal@15219 | 16 DEPENDS="ppp" |
pascal@3763 | 17 |
pascal@3763 | 18 # Rules to configure and make the package. |
pascal@3763 | 19 compile_rules() |
pascal@3763 | 20 { |
pascal@3763 | 21 cd $src |
pascal@15219 | 22 sed -i "s|^LIBDIR.*|LIBDIR=$DESTDIR/usr/lib/pptpd|" plugins/Makefile |
pascal@3763 | 23 ./configure --prefix=/usr \ |
pascal@3763 | 24 --mandir=/usr/share/man \ |
pascal@3763 | 25 $CONFIGURE_ARGS && |
pascal@3763 | 26 make && |
pascal@15219 | 27 make DESTDIR=$DESTDIR install |
pascal@3763 | 28 } |
pascal@3763 | 29 |
pascal@3763 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3763 | 31 genpkg_rules() |
pascal@3763 | 32 { |
pascal@3763 | 33 mkdir -p $fs/usr |
pascal@15219 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@3763 | 35 } |
pascal@3763 | 36 |