wok-next view menu-cache/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 | cedb51a0e63e |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="menu-cache"
4 VERSION="1.1.0"
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 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/menu-cache.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz" # (.xz from SF)
13 #WGET_URL="$SF_MIRROR/lxde/$TARBALL" # SF download problems
14 WGET_URL="https://github.com/lxde/menu-cache/archive/$VERSION.tar.gz"
16 BUILD_DEPENDS="automake gtk-doc libtool glib-dev libfm-extra-dev"
17 SPLIT="menu-cache-dev"
19 compile_rules() {
20 # tarball from github.com requires this step
21 [ -e "$src/configure" ] || ./autogen.sh
23 ./configure \
24 --disable-static \
25 --enable-gtk-doc \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 menu-cache)
35 copy @std
36 DEPENDS="glib libfm-extra"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="menu-cache glib-dev"
41 ;;
42 esac
43 TAGS="LXDE"
44 }