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

Up rsnapshot (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:08:51 2017 +0200 (2017-10-21)
parents 4688f12eea68
children 0e7893ac206d
rev   line source
al@19812 1 # SliTaz package receipt v2.
al@19693 2
al@19693 3 PACKAGE="libfm-extra"
al@19693 4 VERSION="1.2.5"
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@19693 10
al@19693 11 TARBALL="libfm-$VERSION.tar.xz"
al@19693 12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
al@19693 13
al@19693 14 BUILD_DEPENDS="intltool gtk-doc"
al@19812 15 SPLIT="libfm-extra-dev"
al@19693 16 SIBLINGS="libfm"
al@19693 17
al@19693 18 # Rules to configure and make the package.
al@19693 19 compile_rules()
al@19693 20 {
al@19812 21 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/libfm-extra.html
al@19693 22 ./configure \
al@19693 23 --sysconfdir=/etc \
al@19693 24 --with-extra-only \
al@19693 25 --with-gtk=no \
al@19693 26 --disable-static \
al@19693 27 $CONFIGURE_ARGS &&
al@19693 28 make && make install
al@19693 29 }
al@19693 30
al@19693 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19693 32 genpkg_rules()
al@19693 33 {
al@19812 34 case $PACKAGE in
al@19812 35 *-extra)
al@19812 36 copy @std
al@19812 37 DEPENDS="glib"
al@19812 38 ;;
al@19812 39 *-dev)
al@19812 40 copy @dev
al@19812 41 DEPENDS="libfm-extra glib-dev libffi-dev pcre-dev \
al@19812 42 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
al@19812 43 zlib-dev"
al@19812 44 ;;
al@19812 45 esac
al@19693 46 }