wok annotate emelfm2/receipt @ rev 4732
Up: emelfm2 (0.7.1) + update BUILD_DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 07 11:57:06 2010 +0100 (2010-01-07) |
parents | 4dd8b59b717b |
children | 31c985a0bd3d |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="emelfm2" |
erjo@4732 | 4 VERSION="0.7.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" |
erjo@4732 | 9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev" |
pankso@3071 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 |
pankso@3071 | 19 sed -i 's|gview|gpicview|g' src/e2_filetype.c |
pankso@3071 | 20 sed -i 's|totem|xine|g' src/e2_filetype.c |
pankso@3071 | 21 sed -i 's|Totem|Xine|g' src/e2_filetype.c |
pascal@1451 | 22 make PREFIX=/usr && |
pascal@1451 | 23 make i18n PREFIX=/usr && |
pascal@1451 | 24 make install PREFIX=$PWD/_pkg/usr && |
pankso@46 | 25 make install_i18n PREFIX=$PWD/_pkg/usr |
pankso@46 | 26 } |
pankso@46 | 27 |
pankso@46 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 29 genpkg_rules() |
pankso@46 | 30 { |
pankso@46 | 31 mkdir -p $fs/usr/share/locale |
pankso@46 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@46 | 33 cp -a $_pkg/usr/lib $fs/usr |
pankso@46 | 34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@760 | 35 cd $fs/usr/share/pixmaps |
pankso@760 | 36 ln -s emelfm2/emelfm2_32.png emelfm2.png |
pankso@46 | 37 } |