wok-6.x view gtksourceview/receipt @ rev 10042
bison: cross with CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 09:00:11 2011 +0200 (2011-05-20) |
parents | 8c03d2cb2284 |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtksourceview"
4 VERSION="2.10.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Extends GTK+ framework for multiline text editing."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://projects.gnome.org/gtksourceview/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 DEPENDS="expat gtk+ libxml2 xorg-libX11 xorg-libXau xorg-libXcomposite \
12 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
13 xorg-libXrandr xorg-libXrender xorg-libXdamage"
14 BUILD_DEPENDS="intltool pkg-config gtk+-dev libxml2-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/gtksourceview* $fs/usr/share
35 }