wok-current annotate gtksourceview/receipt @ rev 10255
Add rake.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:00:00 2011 +0000 (2011-05-21) |
parents | 8c03d2cb2284 |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@2361 | 1 # SliTaz package receipt. |
pankso@2361 | 2 |
pankso@2361 | 3 PACKAGE="gtksourceview" |
slaxemulator@7105 | 4 VERSION="2.10.5" |
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/" |
slaxemulator@7105 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$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" |
pascal@8939 | 14 BUILD_DEPENDS="intltool pkg-config gtk+-dev libxml2-dev expat-dev" |
pankso@2361 | 15 |
pankso@2361 | 16 # Rules to configure and make the package. |
pankso@2361 | 17 compile_rules() |
pankso@2361 | 18 { |
pankso@2361 | 19 cd $src |
pankso@2361 | 20 ./configure \ |
pankso@2361 | 21 --prefix=/usr \ |
pankso@2361 | 22 --infodir=/usr/share/info \ |
pankso@2361 | 23 --mandir=/usr/share/man \ |
pankso@2361 | 24 $CONFIGURE_ARGS && |
pankso@2361 | 25 make && |
pankso@2361 | 26 make DESTDIR=$PWD/_pkg install |
pankso@2361 | 27 } |
pankso@2361 | 28 |
pankso@2361 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2361 | 30 genpkg_rules() |
pankso@2361 | 31 { |
pankso@2361 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@2361 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2361 | 34 cp -a $_pkg/usr/share/gtksourceview* $fs/usr/share |
pankso@2361 | 35 } |
pankso@2361 | 36 |