wok-current annotate emelfm2/receipt @ rev 14070

avatar-factory: fix owner
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 21 11:14:44 2013 +0100 (2013-02-21)
parents af9a1b47948c
children 2b9f96603415
rev   line source
pankso@46 1 # SliTaz package receipt.
pankso@46 2
pankso@46 3 PACKAGE="emelfm2"
pankso@12705 4 VERSION="0.8.1"
pankso@202 5 CATEGORY="system-tools"
pankso@46 6 SHORT_DESC="GTK powerfull file manager."
pankso@46 7 MAINTAINER="pankso@slitaz.org"
pankso@3071 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@46 9 WEB_SITE="http://emelfm2.net/"
pankso@46 10 WGET_URL="http://emelfm2.net/rel/$TARBALL"
jozee@4935 11 TAGS="file-manager"
pankso@46 12
pankso@12705 13 DEPENDS="gtk+ xorg-libXdamage"
pankso@12705 14 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev"
pankso@12705 15
pankso@46 16 # Rules to configure and make the package.
pankso@46 17 compile_rules()
pankso@46 18 {
pankso@46 19 cd $src
jozee@2572 20 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c
pankso@12705 21 sed -i 's|gview|viewnior|g' src/e2_filetype.c
pankso@3071 22 sed -i 's|totem|xine|g' src/e2_filetype.c
pankso@3071 23 sed -i 's|Totem|Xine|g' src/e2_filetype.c
pascal@1451 24 make PREFIX=/usr &&
pascal@1451 25 make i18n PREFIX=/usr &&
pankso@12705 26 make install PREFIX=$DESTDIR/usr &&
pankso@12705 27 make install_i18n PREFIX=$DESTDIR/usr
pankso@46 28 }
pankso@46 29
pankso@46 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@46 31 genpkg_rules()
pankso@46 32 {
pankso@12705 33 mkdir -p $fs/usr/share
pankso@12705 34 cp -a $install/usr/bin $fs/usr
pankso@12705 35 cp -a $install/usr/lib $fs/usr
pankso@12705 36 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@760 37 cd $fs/usr/share/pixmaps
pankso@760 38 ln -s emelfm2/emelfm2_32.png emelfm2.png
pankso@46 39 }