wok-next view menu-cache/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 f463de72afe3
children e756329576c3
line source
1 # SliTaz package receipt v2.
3 PACKAGE="menu-cache"
4 VERSION="1.0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE implementation of the freedesktop menu's cache"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/menu-cache"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 BUILD_DEPENDS="glib-dev libfm-extra-dev gtk-doc"
16 SPLIT="menu-cache-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/menu-cache.html
22 ./configure \
23 --disable-static \
24 --enable-gtk-doc \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 *-cache)
34 copy @std
35 DEPENDS="glib libfm-extra"
36 TAGS="LXDE"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="menu-cache glib-dev libffi-dev pcre-dev \
41 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
42 zlib-dev"
43 TAGS="LXDE"
44 ;;
45 esac
46 }