rev |
line source |
paul@6384
|
1 # SliTaz package receipt.
|
paul@6384
|
2
|
paul@6384
|
3 PACKAGE="vidalia"
|
paul@11269
|
4 VERSION="0.2.15"
|
paul@6384
|
5 CATEGORY="network"
|
paul@6384
|
6 SHORT_DESC="Controller GUI for the Tor software."
|
paul@6384
|
7 MAINTAINER="paul@slitaz.org"
|
slaxemulator@10765
|
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
|
slaxemulator@10765
|
9 WEB_SITE="https://www.torproject.org/vidalia/"
|
slaxemulator@10765
|
10 WGET_URL="https://www.torproject.org/vidalia/dist/$TARBALL"
|
slaxemulator@10765
|
11
|
paul@6384
|
12 DEPENDS="tor libQtGui libQtXml libegl-mesa"
|
pascal@10684
|
13 BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa openssl-dev"
|
paul@6384
|
14
|
paul@6384
|
15 # Rules to configure and make the package.
|
paul@6384
|
16 compile_rules()
|
paul@6384
|
17 {
|
paul@6384
|
18 cd $src
|
paul@6384
|
19 mkdir build && cd build
|
paul@6384
|
20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
slaxemulator@10765
|
21 make && make DESTDIR=$DESTDIR install
|
paul@6384
|
22 }
|
paul@6384
|
23
|
paul@6384
|
24 # Rules to gen a SliTaz package suitable for Tazpkg.
|
paul@6384
|
25 genpkg_rules()
|
paul@6384
|
26 {
|
paul@6384
|
27 mkdir -p $fs/usr
|
paul@6384
|
28 cp -a $_pkg/usr/bin $fs/usr
|
paul@6384
|
29 cp -a $_pkg/usr/share/ $fs/usr
|
paul@6384
|
30 }
|
paul@6384
|
31
|