wok-current annotate lxshortcut/receipt @ rev 25560

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 25 18:09:10 2023 +0000 (20 months ago)
parents ee53899c6189
children
rev   line source
rcx@3621 1 # SliTaz package receipt.
rcx@3621 2
rcx@3621 3 PACKAGE="lxshortcut"
al@17988 4 VERSION="0.1.2"
rcx@3621 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE application shortcut editor"
rcx@3621 7 MAINTAINER="rcx@zoominternet.net"
pascal@14999 8 LICENSE="GPL3"
pascal@14999 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25045 10 WEB_SITE="https://www.lxde.org/"
pascal@14999 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@17992 12 TAGS="LXDE"
pascal@14999 13
rcx@3621 14 DEPENDS="glib glibc-base libgio expat zlib \
rcx@3621 15 gtk+ atk cairo pango pixman libpng fontconfig freetype \
rcx@3621 16 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender"
slaxemulator@9143 17 BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \
rcx@3621 18 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev"
rcx@3621 19
pascal@25045 20 # What is the latest version available today?
pascal@24071 21 current_version()
pascal@24071 22 {
pascal@24071 23 wget -O - https://sourceforge.net/projects/lxde/files/LXShortcut%20%28edit%20app%20shortcut%29/ 2>/dev/null | \
pascal@24071 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24071 25 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 26 }
pascal@24071 27
rcx@3621 28 # Rules to configure and make the package.
rcx@3621 29 compile_rules()
rcx@3621 30 {
al@17988 31 ## Fix infinite loop.
al@17988 32 #touch po/stamp-it
rcx@3621 33 ./configure \
rcx@3621 34 --prefix=/usr \
rcx@3621 35 --sysconfdir=/etc \
rcx@3621 36 $CONFIGURE_ARGS &&
rcx@3621 37 make &&
pascal@14999 38 make DESTDIR=$DESTDIR install
rcx@3621 39 }
rcx@3621 40
rcx@3621 41 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3621 42 genpkg_rules()
rcx@3621 43 {
rcx@3621 44 mkdir -p $fs/usr/share
pascal@14999 45 cp -a $install/usr/bin $fs/usr
pascal@14999 46 cp -a $install/usr/share/lxshortcut $fs/usr/share
rcx@3621 47 }