wok-next annotate gnome-commander/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 | a20a093a9790 |
children | d5aab818505e |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pascal@13534 | 2 |
pascal@13534 | 3 PACKAGE="gnome-commander" |
al@21009 | 4 VERSION="1.8.1" |
pascal@13534 | 5 CATEGORY="utilities" |
al@21009 | 6 SHORT_DESC="Full featured, twin-panel file manager for GNOME2" |
pascal@13534 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20972 | 9 WEB_SITE="https://gcmd.github.io/" |
al@20464 | 10 |
pascal@13534 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20554 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@13534 | 13 |
al@21017 | 14 BUILD_DEPENDS="itstool docbook-xml glib-dev gettext gtk2-dev libgnome-dev \ |
al@21009 | 15 libgnomeui-dev libunique-dev exiv2-dev taglib-dev chmlib-dev libgsf-dev \ |
al@21009 | 16 poppler-dev" |
al@14209 | 17 |
al@20464 | 18 compile_rules() { |
al@14209 | 19 ./configure \ |
al@21009 | 20 --disable-static \ |
al@14209 | 21 $CONFIGURE_ARGS && |
al@20570 | 22 fix libtool && |
al@20554 | 23 # update-mime-database is useless in DESTDIR install, and although it is |
al@20554 | 24 # disabled, install-data-hook produces non-zero return code from `make install` |
al@20554 | 25 # and cooker believe package is broken; here we remove install-data-hook call |
al@20554 | 26 sed -i '/install-data-hook$/d' data/Makefile && |
al@14209 | 27 make && |
al@20554 | 28 make \ |
al@20554 | 29 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \ |
al@21009 | 30 install || return 1 |
al@21009 | 31 |
al@21009 | 32 fix symlinks |
pascal@13534 | 33 } |
pascal@13534 | 34 |
al@20464 | 35 genpkg_rules() { |
al@21009 | 36 copy @std |
al@21017 | 37 DEPENDS="exiv2 gdk-pixbuf glib gnome-vfs gtk2 libgnome libgnomeui libgsf \ |
al@21009 | 38 libunique pango poppler taglib" |
pascal@13534 | 39 } |