blob: 0694876a5c6d79939723969d45aeb947f095095b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Description: Client Bittorent leger et rapide
# URL: http://www.transmissionbt.com/
# Packager: thierryn1 at hispeed dot ch
# Maintainer: NuTyX core team
# Depends on: gtk, openssl, curl, xorg-xcb-util, libevent, xorg-libxinerama, xorg-libxrandr, xorg-libxdamage
# Run on: gtk,openssl,curl,xorg-xcb-util,libevent
name=transmission
version=2.31
release=1
source=( http://download.m0k.org/$name/files/$name-$version.tar.bz2 \
$name.desktop)
build() {
cd $name-$version
#Compilation
./configure --prefix=/usr \
--enable-nls \
--with-gtk \
--enable-cli \
--enable-daemon
make
make DESTDIR=$PKG install
# Traitement divers
rm $PKG/usr/share/transmission/web/LICENSE
# Installation du raccourci bureau
mkdir -p $PKG/usr/share/applications
install -m 644 ../$name.desktop $PKG/usr/share/applications/
}
|