wok-current view gtk-gnutella/receipt @ rev 16703

Add: mplayer-opt: the same as mplayer but with enabled CPU optimizations (MMX, MMX2, SSE, SSE2 and friends).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 28 11:27:38 2014 +0300 (2014-05-28)
parents f7322e87a0d8
children b8ade74f0d9c
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="0.98.2"
5 CATEGORY="network"
6 SHORT_DESC="p2p client"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gtk-gnutella.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gnutls libgcrypt libgpg-error expat gtk+ libxml2 \
14 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp \
15 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
16 xorg-libXdamage libtasn1"
17 BUILD_DEPENDS="zlib-dev gtk+-dev pkg-config libxml2-dev glib-dev xorg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./build.sh --prefix=/usr \
24 --disable-dbus \
25 --disable-nls &&
26 make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 mkdir -p $fs/usr/share/applications
34 mkdir -p $fs/usr/share/pixmaps
35 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
36 cp -a $install/usr/bin/* $fs/usr/bin
37 cp -a $install/usr/share/applications/* $fs/usr/share/applications/
38 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
39 cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
40 }