wok-6.x annotate vidalia/receipt @ rev 24632
updated gtick (0.5.4 -> 0.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 16:23:11 2022 +0100 (2022-03-08) |
parents | c49ffc024a6c |
children | 505d1daeed6c |
rev | line source |
---|---|
paul@6384 | 1 # SliTaz package receipt. |
paul@6384 | 2 |
paul@6384 | 3 PACKAGE="vidalia" |
monghitri@13992 | 4 VERSION="0.2.21" |
paul@6384 | 5 CATEGORY="network" |
paul@6384 | 6 SHORT_DESC="Controller GUI for the Tor software." |
paul@6384 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15216 | 8 LICENSE="GPL2 LGPL3" |
slaxemulator@10765 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20689 | 10 WEB_SITE="https://web.archive.org/web/20141121142650/https://www.torproject.org/projects/vidalia" |
monghitri@13992 | 11 WGET_URL="https://www.torproject.org/dist/$PACKAGE/$TARBALL" |
monghitri@13992 | 12 |
paul@6384 | 13 DEPENDS="tor libQtGui libQtXml libegl-mesa" |
pascal@10684 | 14 BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa openssl-dev" |
paul@6384 | 15 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget -O - https://github.com/BrentonEarl/vidalia/tags 2>/dev/null | \ |
pascal@24545 | 20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
paul@6384 | 23 # Rules to configure and make the package. |
paul@6384 | 24 compile_rules() |
paul@6384 | 25 { |
paul@6384 | 26 cd $src |
paul@6384 | 27 mkdir build && cd build |
paul@6384 | 28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
slaxemulator@10765 | 29 make && make DESTDIR=$DESTDIR install |
paul@6384 | 30 } |
paul@6384 | 31 |
paul@6384 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6384 | 33 genpkg_rules() |
paul@6384 | 34 { |
paul@6384 | 35 mkdir -p $fs/usr |
pascal@15216 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15216 | 37 cp -a $install/usr/share/ $fs/usr |
paul@6384 | 38 } |
paul@6384 | 39 |