wok-next view gtk-gnutella/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | fe608e79521e |
children | f48456621a9d |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-gnutella"
4 VERSION="1.1.13"
5 CATEGORY="network"
6 SHORT_DESC="p2p client"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
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 libxml2-dev glib-dev xorg-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./build.sh --prefix=/usr \
23 --disable-dbus \
24 --disable-nls &&
25 make $MAKEFLAGS install INSTALL_PREFIX=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 mkdir -p $fs/usr/share/applications
33 mkdir -p $fs/usr/share/pixmaps
34 mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
35 cp -a $install/usr/bin/* $fs/usr/bin
36 cp -a $install/usr/share/applications/* $fs/usr/share/applications/
37 cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
38 cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
39 }