wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="obfsproxy"
4 # git log --pretty=format:'' | wc -l
5 VERSION="280"
6 CATEGORY="network"
7 SHORT_DESC="A simple obfuscating proxy from the Tor project."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.torproject.org/"
12 WGET_URL="git|http://git.torproject.org/obfsproxy.git "
14 DEPENDS="libevent libssl"
15 BUILD_DEPENDS="git wget libevent-dev openssl-dev autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./autogen.sh && ./configure $CONFUGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }