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

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
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 }