wok annotate poptop/receipt @ rev 16311
pango: fix post_install *again*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 09 08:33:25 2014 +0000 (2014-04-09) |
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 |