wok-6.x view vidalia/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | b9659e3c2111 |
children | c38360befd02 |
line source
1 # SliTaz package receipt.
3 PACKAGE="vidalia"
4 VERSION="0.2.21"
5 CATEGORY="network"
6 SHORT_DESC="Controller GUI for the Tor software."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2 LGPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20141121142650/https://www.torproject.org/projects/vidalia"
11 WGET_URL="https://archive.torproject.org/tor-package-archive/$PACKAGE/$TARBALL"
13 DEPENDS="tor libQtGui libQtXml libegl-mesa"
14 BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/BrentonEarl/vidalia/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 mkdir build && cd build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/ $fs/usr
38 }