wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="lxshortcut"
4 VERSION="0.1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Edit application shortcuts compliant with the freedesktop.org Desktop Entry spec."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lxde.org/"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
13 DEPENDS="glib glibc-base libgio expat zlib \
14 gtk+ atk cairo pango pixman libpng fontconfig freetype \
15 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender"
16 BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \
17 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 # Fix infinite loop.
24 touch po/stamp-it
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/lxshortcut $fs/usr/share
39 }