wok view menu-cache/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents 8f42e5ca1910
children ac8ca9758df1
line source
1 # SliTaz package receipt.
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/menu-cache"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glib glibc-base libfm-extra libgio" # slitaz-menus ?
16 BUILD_DEPENDS="gtk-doc libtool libfm-extra-dev"
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --libexecdir=/usr/lib \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib/
41 cp -a $install/usr/lib/menu-cache $fs/usr/lib/
42 }