wok annotate vidalia/receipt @ rev 10759

vidalia: get source in $SOURCES_REPOSITORY (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 31 11:55:01 2011 +0200 (2011-05-31)
parents 0f6ba716b5f6
children d885e7a20459
rev   line source
paul@6384 1 # SliTaz package receipt.
paul@6384 2
paul@6384 3 PACKAGE="vidalia"
paul@6384 4 VERSION="0.2.10"
paul@6384 5 CATEGORY="network"
paul@6384 6 SHORT_DESC="Controller GUI for the Tor software."
paul@6384 7 MAINTAINER="paul@slitaz.org"
paul@6384 8 DEPENDS="tor libQtGui libQtXml libegl-mesa"
pascal@10684 9 BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa openssl-dev"
paul@6384 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@6384 11 WEB_SITE="https://www.torproject.org/vidalia/"
paul@6384 12 # WGET_URL="https://www.torproject.org/vidalia/dist/$TARBALL"
paul@6384 13
paul@6384 14 # Rules to configure and make the package.
paul@6384 15 compile_rules()
paul@6384 16 {
paul@6384 17 # Have to use wget for https stuff
pascal@10759 18 [ -s ${SOURCE_REPOSITORY:-$SRC}/$TARBALL ] ||
pascal@10759 19 wget --no-check-certificate -P ${SOURCE_REPOSITORY:-$SRC} \
pascal@10759 20 https://www.torproject.org/vidalia/dist/$TARBALL
pascal@10759 21 tar xvf ${SOURCE_REPOSITORY:-$SRC}/$TARBALL
paul@6384 22 cd $src
paul@6384 23 mkdir build && cd build
paul@6384 24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
paul@6384 25 make && make DESTDIR=$src/_pkg install
paul@6384 26 }
paul@6384 27
paul@6384 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@6384 29 genpkg_rules()
paul@6384 30 {
paul@6384 31 mkdir -p $fs/usr
paul@6384 32 cp -a $_pkg/usr/bin $fs/usr
paul@6384 33 cp -a $_pkg/usr/share/ $fs/usr
paul@6384 34 }
paul@6384 35