wok-current annotate vidalia/receipt @ rev 6384
Add vidalia
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Sep 22 19:43:01 2010 +0000 (2010-09-22) |
parents | |
children | 0f6ba716b5f6 |
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" |
paul@6384 | 9 BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa" |
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 |
paul@6384 | 18 wget --no-check-certificate https://www.torproject.org/vidalia/dist/$TARBALL |
paul@6384 | 19 tar xvf $TARBALL |
paul@6384 | 20 cd $src |
paul@6384 | 21 mkdir build && cd build |
paul@6384 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
paul@6384 | 23 make && make DESTDIR=$src/_pkg install |
paul@6384 | 24 } |
paul@6384 | 25 |
paul@6384 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6384 | 27 genpkg_rules() |
paul@6384 | 28 { |
paul@6384 | 29 mkdir -p $fs/usr |
paul@6384 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@6384 | 31 cp -a $_pkg/usr/share/ $fs/usr |
paul@6384 | 32 } |
paul@6384 | 33 |