wok annotate lxmenu-data/receipt @ rev 25591
enet: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 22 11:01:59 2023 +0000 (14 months ago) |
parents | ee53899c6189 |
children |
rev | line source |
---|---|
rcx@3623 | 1 # SliTaz package receipt. |
rcx@3623 | 2 |
rcx@3623 | 3 PACKAGE="lxmenu-data" |
devl547@19602 | 4 VERSION="0.1.5" |
rcx@3623 | 5 CATEGORY="x-window" |
al@17992 | 6 SHORT_DESC="LXDE freedesktop.org menu specification" |
rcx@3623 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15379 | 8 LICENSE="GPL2" |
al@17988 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@25062 | 10 WEB_SITE="https://www.lxde.org/" |
rcx@3623 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
rcx@3623 | 12 CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu" |
al@17992 | 13 TAGS="LXDE" |
pankso@16252 | 14 HOST_ARCH="i486 arm" |
rcx@3623 | 15 |
pascal@20892 | 16 [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool" |
pascal@15379 | 17 |
pascal@24071 | 18 current_version() |
pascal@24071 | 19 { |
pascal@24071 | 20 wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \ |
pascal@24071 | 21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 22 } |
pascal@24071 | 23 |
rcx@3623 | 24 # Rules to configure and make the package. |
rcx@3623 | 25 compile_rules() |
rcx@3623 | 26 { |
rcx@3623 | 27 ./configure \ |
rcx@3623 | 28 --prefix=/usr \ |
rcx@3623 | 29 --sysconfdir=/etc \ |
rcx@3623 | 30 $CONFIGURE_ARGS && |
rcx@3623 | 31 make && |
pascal@15379 | 32 make DESTDIR=$DESTDIR install |
rcx@3623 | 33 } |
rcx@3623 | 34 |
rcx@3623 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3623 | 36 genpkg_rules() |
rcx@3623 | 37 { |
rcx@3623 | 38 mkdir -p $fs |
pascal@15379 | 39 cp -a $install/usr $fs |
pascal@15379 | 40 cp -a $install/etc $fs |
rcx@3623 | 41 } |