wok annotate vidalia/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents b9659e3c2111
children c38360befd02
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"
pascal@25026 11 WGET_URL="https://archive.torproject.org/tor-package-archive/$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