wok annotate openvpn/receipt @ rev 21896

updated seamonkey (2.46 -> 2.49.5)
author Hans-G?nter Theisgen
date Thu Oct 03 17:09:38 2019 +0100 (2019-10-03)
parents a78610b2eb47
children ea14002b02bc
rev   line source
pascal@317 1 # SliTaz package receipt.
pascal@317 2
pascal@317 3 PACKAGE="openvpn"
Hans-G?nter@21643 4 VERSION="2.4.7"
pascal@317 5 CATEGORY="network"
Hans-G?nter@21643 6 TAGS="vpn tunnel network"
pascal@317 7 SHORT_DESC="Full-featured open source SSL VPN solution."
pascal@317 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14698 9 LICENSE="GPL2"
Hans-G?nter@21643 10 WEB_SITE="https://openvpn.net/"
Hans-G?nter@21643 11
mojo@17535 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21643 13 WGET_URL="https://swupdate.openvpn.net/community/releases/$TARBALL"
Hans-G?nter@21643 14
Hans-G?nter@21643 15 DEPENDS="libcrypto lzo openssl"
Hans-G?nter@21643 16 BUILD_DEPENDS="libcrypto-dev lzo-dev openssl-dev pam-dev"
Hans-G?nter@21643 17
pankso@16381 18 HOST_ARCH="i486 arm"
pankso@15785 19
pascal@317 20 # Rules to configure and make the package.
pascal@317 21 compile_rules()
pascal@317 22 {
Hans-G?nter@21643 23 ./configure \
Hans-G?nter@21643 24 --prefix=/usr \
Hans-G?nter@21643 25 --enable-password-save \
pankso@10810 26 $CONFIGURE_ARGS &&
pascal@1514 27 make &&
Hans-G?nter@21643 28 ( cd src/plugins/auth-pam/ ; make ) &&
Hans-G?nter@21643 29 ( cd src/plugins/down-root/ ; make ) &&
slaxemulator@10125 30 make DESTDIR=$DESTDIR install
pascal@317 31 }
pascal@317 32
pascal@317 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@317 34 genpkg_rules()
pascal@317 35 {
pascal@317 36 mkdir -p $fs/usr/sbin
Hans-G?nter@21643 37
Hans-G?nter@21643 38 cp -a $install/usr/sbin/openvpn $fs/usr/sbin
Hans-G?nter@21643 39 cp -a $stuff/etc $fs
Hans-G?nter@21643 40
devl547@16412 41 chown root.root $fs/etc/init.d/*
devl547@16412 42 chmod 0644 $fs/etc/openvpn/openvpn.conf
pascal@317 43 }
pascal@317 44
pascal@16681 45 post_remove()
pascal@336 46 {
pascal@16681 47 # remove config
pascal@16681 48 rm -rf ${root}/etc/openvpn
pascal@336 49 }