wok-6.x view lxmenu-data/receipt @ rev 25430

Up os-prober (1.81)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:26:39 2022 +0000 (2022-08-19)
parents ee53899c6189
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lxmenu-data"
4 VERSION="0.1.5"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE freedesktop.org menu specification"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.lxde.org/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"
13 TAGS="LXDE"
14 HOST_ARCH="i486 arm"
16 [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool"
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).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 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs
39 cp -a $install/usr $fs
40 cp -a $install/etc $fs
41 }