wok-6.x annotate proxytunnel/receipt @ rev 19953
urbackup-server: add post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 08 13:50:13 2017 +0200 (2017-05-08) |
parents | 9689f1b75619 |
children | 080c1dff8494 |
rev | line source |
---|---|
pascal@17151 | 1 # SliTaz package receipt. |
pascal@17151 | 2 |
pascal@17151 | 3 PACKAGE="proxytunnel" |
pascal@17151 | 4 VERSION="1.9.0" |
pascal@17151 | 5 CATEGORY="network" |
pascal@17151 | 6 SHORT_DESC="Connecting outside through HTTP(S) proxies." |
pascal@17151 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17151 | 8 LICENSE="GPL2" |
pascal@17151 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@17151 | 10 WEB_SITE="http://proxytunnel.sourceforge.net/" |
pascal@17151 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17151 | 12 |
pascal@17482 | 13 DEPENDS="libcrypto libssl gzip" |
pascal@17151 | 14 BUILD_DEPENDS="openssl-dev" |
pascal@17151 | 15 |
pascal@17151 | 16 # Rules to configure and make the package. |
pascal@17151 | 17 compile_rules() |
pascal@17151 | 18 { |
pascal@19689 | 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@17151 | 20 sed -i 's|/local||' Makefile |
pascal@17151 | 21 make && |
pascal@17151 | 22 make DESTDIR=$DESTDIR install |
pascal@17151 | 23 } |
pascal@17151 | 24 |
pascal@17151 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17151 | 26 genpkg_rules() |
pascal@17151 | 27 { |
pascal@17151 | 28 mkdir -p $fs/usr |
pascal@17151 | 29 cp -a $install/usr/bin $fs/usr |
pascal@17151 | 30 } |