wok annotate vidalia/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (2 weeks ago) |
parents | 0262035dc1e7 |
children |
rev | line source |
---|---|
paul@6384 | 1 # SliTaz package receipt. |
paul@6384 | 2 |
paul@6384 | 3 PACKAGE="vidalia" |
Hans-G?nter@25396 | 4 VERSION="0.3.1" |
paul@6384 | 5 CATEGORY="network" |
paul@6384 | 6 SHORT_DESC="Controller GUI for the Tor software." |
paul@6384 | 7 MAINTAINER="paul@slitaz.org" |
Hans-G?nter@25396 | 8 LICENSE="GPL2+" |
Hans-G?nter@25396 | 9 WEB_SITE="https://web.archive.org/web/20141121142650/https://www.torproject.org/projects/vidalia" |
Hans-G?nter@25396 | 10 |
slaxemulator@10765 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25026 | 12 WGET_URL="https://archive.torproject.org/tor-package-archive/$PACKAGE/$TARBALL" |
monghitri@13992 | 13 |
Hans-G?nter@25396 | 14 DEPENDS="libegl-mesa libQtGui libQtScript libQtXml tor" |
Hans-G?nter@25396 | 15 BUILD_DEPENDS="cmake qmake libegl-mesa openssl-dev Qt4-dev" |
paul@6384 | 16 |
pascal@24545 | 17 # What is the latest version available today? |
pascal@24545 | 18 current_version() |
pascal@24545 | 19 { |
pascal@25610 | 20 wget -O - https://archive.torproject.org/tor-package-archive/vidalia/ 2>/dev/null | \ |
pascal@25610 | 21 sed '/vidalia-[0-9]/!d;/tar/!d;s|.*vidalia-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24545 | 22 } |
pascal@24545 | 23 |
paul@6384 | 24 # Rules to configure and make the package. |
paul@6384 | 25 compile_rules() |
paul@6384 | 26 { |
Hans-G?nter@25396 | 27 mkdir build && |
Hans-G?nter@25396 | 28 cd build && |
Hans-G?nter@25396 | 29 cmake .. \ |
Hans-G?nter@25396 | 30 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@25396 | 31 make && |
Hans-G?nter@25396 | 32 make install DESTDIR=$DESTDIR |
paul@6384 | 33 } |
paul@6384 | 34 |
paul@6384 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6384 | 36 genpkg_rules() |
paul@6384 | 37 { |
Hans-G?nter@25396 | 38 cook_copy_folders bin |
Hans-G?nter@25396 | 39 cook_copy_folders icons |
paul@6384 | 40 } |
paul@6384 | 41 |