wok-current annotate xfe/receipt @ rev 9983
Add libnfnetlink
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 23:30:52 2011 +0200 (2011-05-18) |
parents | 0b4cf0d9e1b5 |
children | 810399e45e44 |
rev | line source |
---|---|
pankso@2781 | 1 # SliTaz package receipt. |
pankso@2781 | 2 |
pankso@2781 | 3 PACKAGE="xfe" |
pankso@2781 | 4 VERSION="1.19.2" |
pankso@2781 | 5 CATEGORY="system-tools" |
pankso@2781 | 6 SHORT_DESC="Xfe File manager and utility using Fox toolkit." |
pankso@2781 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2781 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2781 | 9 DEPENDS="libpng jpeg tiff xorg-libXft fox" |
pankso@2781 | 10 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev" |
pankso@2781 | 11 SUGGESTED="adie calculator shutterbug" |
pankso@2781 | 12 WEB_SITE="http://roland65.free.fr/xfe/" |
pankso@2781 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@2781 | 14 |
pankso@2781 | 15 # Rules to configure and make the package. |
pankso@2781 | 16 compile_rules() |
pankso@2781 | 17 { |
pankso@2781 | 18 cd $src |
pascal@8974 | 19 patch -p 0 < $stuff/gcc-4.patch || return 1 |
pankso@2781 | 20 ./configure \ |
pankso@2781 | 21 --prefix=/usr \ |
pankso@2781 | 22 --mandir=/usr/share/man \ |
pankso@2781 | 23 $CONFIGURE_ARGS && |
pankso@2781 | 24 make && |
pankso@2781 | 25 make DESTDIR=$PWD/_pkg install |
pankso@2781 | 26 } |
pankso@2781 | 27 |
pankso@2781 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2781 | 29 genpkg_rules() |
pankso@2781 | 30 { |
pankso@2781 | 31 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons |
pankso@2781 | 32 cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin |
pankso@2781 | 33 cp -a $_pkg/usr/share/xfe/xferc $fs/usr/share/xfe |
pankso@2781 | 34 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc |
pankso@2781 | 35 # Tango/Gnome icons theme only |
pankso@2781 | 36 cp -a $_pkg/usr/share/xfe/icons/tango-theme \ |
pankso@2781 | 37 $fs/usr/share/xfe/icons |
pankso@2781 | 38 cp -a $_pkg/usr/share/xfe/icons/gnome-theme \ |
pankso@2781 | 39 $fs/usr/share/xfe/icons |
pankso@2781 | 40 } |