wok annotate lxshortcut/receipt @ rev 24252
updated perl-soap-lite (0.710.08 -> 1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:51:29 2022 +0100 (2022-01-02) |
parents | f785404cbaa7 |
children | 232ba43d30af |
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@23725 | 10 WEB_SITE="https://wiki.lxde.org/en/LXPanel" |
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@24071 | 20 current_version() |
pascal@24071 | 21 { |
pascal@24071 | 22 wget -O - https://sourceforge.net/projects/lxde/files/LXShortcut%20%28edit%20app%20shortcut%29/ 2>/dev/null | \ |
pascal@24071 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 24 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 25 } |
pascal@24071 | 26 |
rcx@3621 | 27 # Rules to configure and make the package. |
rcx@3621 | 28 compile_rules() |
rcx@3621 | 29 { |
al@17988 | 30 ## Fix infinite loop. |
al@17988 | 31 #touch po/stamp-it |
rcx@3621 | 32 ./configure \ |
rcx@3621 | 33 --prefix=/usr \ |
rcx@3621 | 34 --sysconfdir=/etc \ |
rcx@3621 | 35 $CONFIGURE_ARGS && |
rcx@3621 | 36 make && |
pascal@14999 | 37 make DESTDIR=$DESTDIR install |
rcx@3621 | 38 } |
rcx@3621 | 39 |
rcx@3621 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3621 | 41 genpkg_rules() |
rcx@3621 | 42 { |
rcx@3621 | 43 mkdir -p $fs/usr/share |
pascal@14999 | 44 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 45 cp -a $install/usr/share/lxshortcut $fs/usr/share |
rcx@3621 | 46 } |