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"
|
rcx@3621
|
11 BUILD_DEPENDS="slitaz-toolchain 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
|
rcx@3621
|
21 ./configure \
|
rcx@3621
|
22 --prefix=/usr \
|
rcx@3621
|
23 --sysconfdir=/etc \
|
rcx@3621
|
24 $CONFIGURE_ARGS &&
|
rcx@3621
|
25 make &&
|
rcx@3621
|
26 make DESTDIR=$PWD/_pkg install
|
rcx@3621
|
27 }
|
rcx@3621
|
28
|
rcx@3621
|
29 # Rules to gen a SliTaz package suitable for Tazpkg.
|
rcx@3621
|
30 genpkg_rules()
|
rcx@3621
|
31 {
|
rcx@3621
|
32 mkdir -p $fs/usr/share
|
rcx@3621
|
33 cp -a $_pkg/usr/bin $fs/usr
|
rcx@3621
|
34 cp -a $_pkg/usr/share/lxshortcut $fs/usr/share
|
rcx@3621
|
35 }
|