wok-current view gnome-commander/receipt @ rev 17499

Add patchelf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 06 15:05:29 2015 +0100 (2015-01-06)
parents 380ffe05937a
children c8db74c32378
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-commander"
4 VERSION="1.2.8.15"
5 CATEGORY="utilities"
6 SHORT_DESC="A full featured, twin-panel file manager for Gnome2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.nongnu.org/gcmd/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*.*}/$TARBALL"
13 DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler taglib"
14 BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils-dev libgnome-dev \
15 libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \
16 libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \
17 xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \
18 taglib-dev libgsf-dev poppler-dev chmlib-dev lcms-dev flex python-dev \
19 util-linux-uuid-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch -p1 < $stuff/gnome-commander-poppler.patch
25 ./configure \
26 --disable-scrollkeeper \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 find $fs/usr/lib/gnome-commander -name "*.*a" -delete
39 cp -a $install/usr/share/applications $fs/usr/share
40 cp -a $install/usr/share/pixmaps $fs/usr/share
41 }