wok-next annotate gtksourceview/receipt @ rev 2760

cairo-xcb-dev: fix _pkg variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 21:35:55 2009 +0200 (2009-04-26)
parents c91fdd0583b9
children b645f1052cb1
rev   line source
pankso@2361 1 # SliTaz package receipt.
pankso@2361 2
pankso@2361 3 PACKAGE="gtksourceview"
pankso@2361 4 VERSION="2.4.2"
pankso@2361 5 CATEGORY="x-window"
pankso@2361 6 SHORT_DESC="Extends GTK+ framework for multiline text editing."
pankso@2361 7 MAINTAINER="pankso@slitaz.org"
pankso@2361 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@2361 9 WEB_SITE="http://projects.gnome.org/gtksourceview/"
pankso@2361 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.4/$TARBALL"
pascal@2483 11 DEPENDS="expat gtk+ libxml2 xorg-libX11 xorg-libXau xorg-libXcomposite \
pascal@2483 12 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
pascal@2516 13 xorg-libXrandr xorg-libXrender xorg-libXdamage"
pankso@2361 14
pankso@2361 15 # Rules to configure and make the package.
pankso@2361 16 compile_rules()
pankso@2361 17 {
pankso@2361 18 cd $src
pankso@2361 19 ./configure \
pankso@2361 20 --prefix=/usr \
pankso@2361 21 --infodir=/usr/share/info \
pankso@2361 22 --mandir=/usr/share/man \
pankso@2361 23 $CONFIGURE_ARGS &&
pankso@2361 24 make &&
pankso@2361 25 make DESTDIR=$PWD/_pkg install
pankso@2361 26 }
pankso@2361 27
pankso@2361 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2361 29 genpkg_rules()
pankso@2361 30 {
pankso@2361 31 mkdir -p $fs/usr/lib $fs/usr/share
pankso@2361 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2361 33 cp -a $_pkg/usr/share/gtksourceview* $fs/usr/share
pankso@2361 34 }
pankso@2361 35