wok-6.x annotate transmission/receipt @ rev 18088

python-pillow, virtualbox-ose: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 23 21:32:28 2015 +0200 (2015-05-23)
parents 728b5b963b2c
children 9e01bc6321ea
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="transmission"
devl547@17645 4 VERSION="2.84"
pankso@203 5 CATEGORY="network"
pankso@41 6 SHORT_DESC="Light and easy to use BitTorrent client."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@4784 9 SUGGESTED="transmission-web transmission-cli transmission-daemon"
pankso@11956 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@1739 11 WEB_SITE="http://www.transmissionbt.com/"
slaxemulator@15832 12 WGET_URL="https://transmission.cachefly.net/$TARBALL"
jozee@4973 13 TAGS="torrent"
pankso@41 14
slaxemulator@15816 15 DEPENDS="gtk+3 libssl libcurl libgio dbus dbus-glib \
slaxemulator@15816 16 xorg-libXdamage libnotify libevent"
psychomaniak@17107 17 BUILD_DEPENDS="gtk+3-dev openssl-dev curl-dev curl intltool \
psychomaniak@17109 18 expat-dev gettext dbus-dev dbus-glib-dev libevent-dev wget tar"
slaxemulator@10109 19
pankso@41 20 # Rules to configure and make the package.
pankso@41 21 compile_rules()
pankso@41 22 {
pankso@41 23 cd $src
pascal@15836 24 touch third-party/miniupnp/VERSION
devl547@17661 25 CFLAGS="$CFLAGS -fdata-sections -ffunction-sections \
devl547@17661 26 -Wl,--gc-sections"
pankso@551 27 ./configure \
pankso@551 28 --prefix=/usr \
pankso@11956 29 --enable-lightweight \
erjo@2988 30 $CONFIGURE_ARGS && \
pankso@11956 31 make && make install &&
psychomaniak@17109 32 rm -rf $install/usr/share/applications $src/macosx
psychomaniak@17109 33 #For gcc v4.7+
psychomaniak@17109 34 #cd $src/qt && qmake qtr.pro
psychomaniak@17109 35 #make && make INSTALL_ROOT=$install install
pankso@41 36 }
pankso@41 37
pankso@41 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 39 genpkg_rules()
pankso@41 40 {
pascal@11623 41 mkdir -p $fs/usr/bin $fs/usr/share/applications
slaxemulator@15834 42 cp -a $install/usr/bin/${PACKAGE}-gtk $fs/usr/bin/${PACKAGE}
pankso@551 43 }
pankso@551 44
pankso@551 45 # Remove old packages name
pankso@551 46 post_install()
pankso@551 47 {
pascal@1137 48 rm -f $1/usr/bin/transmission-gtk
slaxemulator@6617 49 rm -f $1/usr/share/applications/${PACKAGE}-gtk.desktop
mojo@16979 50 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
pankso@41 51 }
mojo@16979 52
mojo@16979 53 post_remove()
mojo@16979 54 {
mojo@16979 55 echo "Processing post-remove commands..."
mojo@16979 56 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
mojo@16979 57 }