# SliTaz package receipt. PACKAGE="lxmenu-data" VERSION="0.1.5" CATEGORY="x-window" SHORT_DESC="LXDE freedesktop.org menu specification" MAINTAINER="rcx@zoominternet.net" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://www.lxde.org/" WGET_URL="$SF_MIRROR/lxde/$TARBALL" CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu" TAGS="LXDE" HOST_ARCH="i486 arm" [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool" current_version() { wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \ sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs cp -a $install/usr $fs cp -a $install/etc $fs }