wok-6.x annotate emelfm2/receipt @ rev 20426
linld: fix xmm_driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 13 00:46:30 2018 +0200 (2018-08-13) |
parents | 2bdcf02d05af |
children | d8c511e24c20 |
rev | line source |
---|---|
pankso@46 | 1 # SliTaz package receipt. |
pankso@46 | 2 |
pankso@46 | 3 PACKAGE="emelfm2" |
pankso@15956 | 4 VERSION="0.9.1" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@46 | 6 SHORT_DESC="GTK powerfull file manager." |
pankso@46 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@3071 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@46 | 10 WEB_SITE="http://emelfm2.net/" |
pankso@46 | 11 WGET_URL="http://emelfm2.net/rel/$TARBALL" |
jozee@4935 | 12 TAGS="file-manager" |
pankso@46 | 13 |
pankso@12705 | 14 DEPENDS="gtk+ xorg-libXdamage" |
pascal@18421 | 15 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev \ |
pascal@18421 | 16 coreutils-operations" |
pankso@12705 | 17 |
pankso@46 | 18 # Rules to configure and make the package. |
pankso@46 | 19 compile_rules() |
pankso@46 | 20 { |
pascal@20212 | 21 sed -i 's|uname -m|echo i486|' Makefile |
jozee@2572 | 22 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c |
pankso@12705 | 23 sed -i 's|gview|viewnior|g' src/e2_filetype.c |
pankso@3071 | 24 sed -i 's|totem|xine|g' src/e2_filetype.c |
pankso@3071 | 25 sed -i 's|Totem|Xine|g' src/e2_filetype.c |
pascal@1451 | 26 make PREFIX=/usr && |
pascal@1451 | 27 make i18n PREFIX=/usr && |
pankso@12705 | 28 make install PREFIX=$DESTDIR/usr && |
pankso@12705 | 29 make install_i18n PREFIX=$DESTDIR/usr |
pankso@46 | 30 } |
pankso@46 | 31 |
pankso@46 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@46 | 33 genpkg_rules() |
pankso@46 | 34 { |
pankso@12705 | 35 mkdir -p $fs/usr/share |
pankso@12705 | 36 cp -a $install/usr/bin $fs/usr |
pankso@12705 | 37 cp -a $install/usr/lib $fs/usr |
pankso@12705 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@760 | 39 cd $fs/usr/share/pixmaps |
pankso@760 | 40 ln -s emelfm2/emelfm2_32.png emelfm2.png |
pankso@46 | 41 } |