wok-6.x annotate lxshortcut/receipt @ rev 16595
speedcrunch: do not fail when ./build exists
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 07 08:07:35 2014 +0000 (2014-05-07) |
parents | 50f89a1e4792 |
children | c73f683146cf |
rev | line source |
---|---|
rcx@3621 | 1 # SliTaz package receipt. |
rcx@3621 | 2 |
rcx@3621 | 3 PACKAGE="lxshortcut" |
rcx@3796 | 4 VERSION="0.1.1" |
rcx@3621 | 5 CATEGORY="x-window" |
rcx@3621 | 6 SHORT_DESC="Edit application shortcuts compliant with the freedesktop.org Desktop Entry spec." |
rcx@3621 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@14999 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14999 | 10 WEB_SITE="http://www.lxde.org/" |
pascal@14999 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@14999 | 12 |
rcx@3621 | 13 DEPENDS="glib glibc-base libgio expat zlib \ |
rcx@3621 | 14 gtk+ atk cairo pango pixman libpng fontconfig freetype \ |
rcx@3621 | 15 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender" |
slaxemulator@9143 | 16 BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \ |
rcx@3621 | 17 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev" |
rcx@3621 | 18 |
rcx@3621 | 19 # Rules to configure and make the package. |
rcx@3621 | 20 compile_rules() |
rcx@3621 | 21 { |
rcx@3621 | 22 cd $src |
gokhlayeh@9103 | 23 # Fix infinite loop. |
gokhlayeh@9103 | 24 touch po/stamp-it |
rcx@3621 | 25 ./configure \ |
rcx@3621 | 26 --prefix=/usr \ |
rcx@3621 | 27 --sysconfdir=/etc \ |
rcx@3621 | 28 $CONFIGURE_ARGS && |
rcx@3621 | 29 make && |
pascal@14999 | 30 make DESTDIR=$DESTDIR install |
rcx@3621 | 31 } |
rcx@3621 | 32 |
rcx@3621 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3621 | 34 genpkg_rules() |
rcx@3621 | 35 { |
rcx@3621 | 36 mkdir -p $fs/usr/share |
pascal@14999 | 37 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 38 cp -a $install/usr/share/lxshortcut $fs/usr/share |
rcx@3621 | 39 } |