wok-next diff emelfm2/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | f99935f1778a |
children | d5aab818505e |
line diff
1.1 --- a/emelfm2/receipt Fri Aug 24 15:29:24 2018 +0300 1.2 +++ b/emelfm2/receipt Tue Oct 16 16:46:05 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="emelfm2" 1.8 VERSION="0.9.1" 1.9 @@ -6,35 +6,33 @@ 1.10 SHORT_DESC="GTK powerfull file manager." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL3" 1.13 +WEB_SITE="https://web.archive.org/web/20171213042310/http://emelfm2.net/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="https://web.archive.org/web/20171213042310/http://emelfm2.net/" 1.17 WGET_URL="http://emelfm2.net/rel/$TARBALL" # FIXME 1.18 -TAGS="file-manager" 1.19 1.20 -DEPENDS="gtk+ xorg-libXdamage" 1.21 -BUILD_DEPENDS="gtk+-dev xorg-xorgproto libmagic-dev \ 1.22 +BUILD_DEPENDS="gtk2-dev xorg-xorgproto libmagic-dev \ 1.23 coreutils-operations gettext-tools" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 +compile_rules() { 1.29 sed -i 's|xpdf|epdfview|g' src/e2_filetype.c 1.30 sed -i 's|gview|viewnior|g' src/e2_filetype.c 1.31 sed -i 's|totem|xine|g' src/e2_filetype.c 1.32 sed -i 's|Totem|Xine|g' src/e2_filetype.c 1.33 + 1.34 make PREFIX=/usr && 1.35 make i18n PREFIX=/usr && 1.36 make install PREFIX=$DESTDIR/usr && 1.37 make install_i18n PREFIX=$DESTDIR/usr 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 +genpkg_rules() { 1.44 mkdir -p $fs/usr/share 1.45 cp -a $install/usr/bin $fs/usr 1.46 cp -a $install/usr/lib $fs/usr 1.47 cp -a $install/usr/share/pixmaps $fs/usr/share 1.48 cd $fs/usr/share/pixmaps 1.49 ln -s emelfm2/emelfm2_32.png emelfm2.png 1.50 + DEPENDS="gtk2 xorg-libXdamage" 1.51 + TAGS="file-manager" 1.52 }