wok-6.x annotate lxshortcut/receipt @ rev 11747
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 22 02:51:12 2012 +0100 (2012-02-22) |
parents | f256feada564 |
children | 2b9f96603415 |
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" |
rcx@3621 | 8 DEPENDS="glib glibc-base libgio expat zlib \ |
rcx@3621 | 9 gtk+ atk cairo pango pixman libpng fontconfig freetype \ |
rcx@3621 | 10 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender" |
slaxemulator@9143 | 11 BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \ |
rcx@3621 | 12 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev" |
rcx@3621 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3621 | 14 WEB_SITE="http://www.lxde.org/" |
rcx@3621 | 15 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
rcx@3621 | 16 |
rcx@3621 | 17 # Rules to configure and make the package. |
rcx@3621 | 18 compile_rules() |
rcx@3621 | 19 { |
rcx@3621 | 20 cd $src |
gokhlayeh@9103 | 21 # Fix infinite loop. |
gokhlayeh@9103 | 22 touch po/stamp-it |
rcx@3621 | 23 ./configure \ |
rcx@3621 | 24 --prefix=/usr \ |
rcx@3621 | 25 --sysconfdir=/etc \ |
rcx@3621 | 26 $CONFIGURE_ARGS && |
rcx@3621 | 27 make && |
rcx@3621 | 28 make DESTDIR=$PWD/_pkg install |
rcx@3621 | 29 } |
rcx@3621 | 30 |
rcx@3621 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3621 | 32 genpkg_rules() |
rcx@3621 | 33 { |
rcx@3621 | 34 mkdir -p $fs/usr/share |
rcx@3621 | 35 cp -a $_pkg/usr/bin $fs/usr |
rcx@3621 | 36 cp -a $_pkg/usr/share/lxshortcut $fs/usr/share |
rcx@3621 | 37 } |