wok-6.x annotate emelfm2/receipt @ rev 2782
Add Xfi and Xfw - Image viewer and Text editor (use Fox lib)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:14:05 2009 +0200 (2009-04-27) |
parents | bdb95cc04462 |
children | 4dd8b59b717b |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="emelfm2" |
pankso@1047 | 4 VERSION="0.4.1" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@46 | 6 SHORT_DESC="GTK powerfull file manager." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@2573 | 8 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1451 | 9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto" |
pankso@46 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@46 | 11 WEB_SITE="http://emelfm2.net/" |
pankso@46 | 12 WGET_URL="http://emelfm2.net/rel/$TARBALL" |
pankso@46 | 13 |
pankso@46 | 14 # Rules to configure and make the package. |
pankso@46 | 15 compile_rules() |
pankso@46 | 16 { |
pankso@46 | 17 cd $src |
jozee@2572 | 18 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c |
pascal@1451 | 19 make PREFIX=/usr && |
pascal@1451 | 20 make i18n PREFIX=/usr && |
pascal@1451 | 21 make install PREFIX=$PWD/_pkg/usr && |
pankso@46 | 22 make install_i18n PREFIX=$PWD/_pkg/usr |
pankso@46 | 23 } |
pankso@46 | 24 |
pankso@46 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 26 genpkg_rules() |
pankso@46 | 27 { |
pankso@46 | 28 mkdir -p $fs/usr/share/locale |
pankso@46 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 30 cp -a $_pkg/usr/lib $fs/usr |
pankso@46 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@760 | 32 cd $fs/usr/share/pixmaps |
pankso@760 | 33 ln -s emelfm2/emelfm2_32.png emelfm2.png |
pankso@46 | 34 } |