wok-6.x view lxshortcut/receipt @ rev 13278

Compress modules with xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 19:24:51 2012 +0200 (2012-08-23)
parents f256feada564
children 2b9f96603415
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 DEPENDS="glib glibc-base libgio expat zlib \
9 gtk+ atk cairo pango pixman libpng fontconfig freetype \
10 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender"
11 BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \
12 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.lxde.org/"
15 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Fix infinite loop.
22 touch po/stamp-it
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/lxshortcut $fs/usr/share
37 }