wok-next annotate libfm-extra/receipt @ rev 20856

Update libfm-extra, menu-cache, libfm, pcmanfm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 17:13:37 2018 +0300 (2018-06-26)
parents cac2c0130f0d
children df20b2110f7e
rev   line source
al@19812 1 # SliTaz package receipt v2.
al@19693 2
al@19693 3 PACKAGE="libfm-extra"
al@20856 4 VERSION="1.3.0.2"
al@19693 5 CATEGORY="system-tools"
al@19693 6 SHORT_DESC="Library and other files required by menu-cache-gen"
al@19693 7 MAINTAINER="al.bobylev@gmail.com"
al@19693 8 LICENSE="GPL2"
al@19893 9 WEB_SITE="https://wiki.lxde.org/en/Libfm"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/libfm-extra.html"
al@19693 11
al@19693 12 TARBALL="libfm-$VERSION.tar.xz"
al@20856 13 #WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL" # SF download problems
al@20856 14 WGET_URL="https://git.lxde.org/gitweb/?p=lxde/libfm.git;a=snapshot;h=$VERSION;sf=txz"
al@19693 15
al@20856 16 BUILD_DEPENDS="automake gtk-doc libtool gettext intltool glib-dev"
al@19812 17 SPLIT="libfm-extra-dev"
al@19693 18 SIBLINGS="libfm"
al@19693 19
al@20443 20 compile_rules() {
al@20856 21 # tarball from git.lxde.org requires this step
al@20856 22 [ -e "$src/configure" ] || ./autogen.sh
al@20856 23
al@19693 24 ./configure \
al@19693 25 --with-extra-only \
al@19693 26 --with-gtk=no \
al@19693 27 --disable-static \
al@19693 28 $CONFIGURE_ARGS &&
al@20575 29 fix libtool &&
al@20534 30 make &&
al@20534 31 make install
al@19693 32 }
al@19693 33
al@20443 34 genpkg_rules() {
al@19812 35 case $PACKAGE in
al@20856 36 libfm-extra)
al@19812 37 copy @std
al@19812 38 DEPENDS="glib"
al@19812 39 ;;
al@19812 40 *-dev)
al@19812 41 copy @dev
al@20443 42 DEPENDS="libfm-extra glib-dev"
al@19812 43 ;;
al@19812 44 esac
al@19693 45 }