wok annotate obfsproxy/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 23c3aed67cd9
children 261355c410d6
rev   line source
pankso@11655 1 # SliTaz package receipt.
pankso@11655 2
pankso@11655 3 PACKAGE="obfsproxy"
pankso@11655 4 # git log --pretty=format:'' | wc -l
pankso@11655 5 VERSION="280"
pankso@11655 6 CATEGORY="network"
pankso@11655 7 SHORT_DESC="A simple obfuscating proxy from the Tor project."
pankso@11655 8 MAINTAINER="pankso@slitaz.org"
pascal@15605 9 LICENSE="BSD"
pankso@11655 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@11655 11 WEB_SITE="http://www.torproject.org/"
pankso@11655 12 WGET_URL="git|http://git.torproject.org/obfsproxy.git "
pankso@11655 13
pankso@11655 14 DEPENDS="libevent libssl"
pascal@12451 15 BUILD_DEPENDS="git wget libevent-dev openssl-dev autoconf automake"
pankso@11655 16
pankso@11655 17 # Rules to configure and make the package.
pankso@11655 18 compile_rules()
pankso@11655 19 {
pankso@11655 20 cd $src
pankso@11655 21 ./autogen.sh && ./configure $CONFUGURE_ARGS &&
pankso@11655 22 make && make install
pankso@11655 23 }
pankso@11655 24
pankso@11655 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11655 26 genpkg_rules()
pankso@11655 27 {
pankso@11655 28 mkdir -p $fs/usr
pankso@11655 29 cp -a $install/usr/bin $fs/usr
pankso@11655 30 }