wok-next view gnome-commander/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
parents | c654f3c3a858 |
children | c9a7a7b42a86 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-commander"
4 VERSION="1.8.0"
5 CATEGORY="utilities"
6 SHORT_DESC="A full featured, twin-panel file manager for Gnome2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://gcmd.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 #WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils libgnome-dev \
16 libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \
17 libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \
18 xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \
19 taglib-dev libgsf-dev poppler-dev chmlib-dev lcms2-dev flex python-dev \
20 util-linux-uuid-dev libunique-dev intltool itstool"
21 SPLIT="gnome-commander-i18n"
23 compile_rules() {
25 ./configure \
26 --disable-scrollkeeper \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 # update-mime-database is useless in DESTDIR install, and although it is
30 # disabled, install-data-hook produces non-zero return code from `make install`
31 # and cooker believe package is broken; here we remove install-data-hook call
32 sed -i '/install-data-hook$/d' data/Makefile &&
33 make &&
34 make \
35 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
36 install
37 }
39 genpkg_rules() {
40 case $PACKAGE in
41 gnome-commander)
42 copy @std
43 DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler \
44 taglib libunique"
45 ;;
46 gnome-commander-i18n)
47 copy locale/
48 CAT="localization|language files"
49 ;;
50 esac
51 }