wok annotate gtksourceview/receipt @ rev 2381
rt2860sta: remove potential warning for tazpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 12:57:59 2009 +0000 (2009-03-08) |
parents | |
children | c91fdd0583b9 |
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" |
pankso@2361 | 11 |
pankso@2361 | 12 # Rules to configure and make the package. |
pankso@2361 | 13 compile_rules() |
pankso@2361 | 14 { |
pankso@2361 | 15 cd $src |
pankso@2361 | 16 ./configure \ |
pankso@2361 | 17 --prefix=/usr \ |
pankso@2361 | 18 --infodir=/usr/share/info \ |
pankso@2361 | 19 --mandir=/usr/share/man \ |
pankso@2361 | 20 $CONFIGURE_ARGS && |
pankso@2361 | 21 make && |
pankso@2361 | 22 make DESTDIR=$PWD/_pkg install |
pankso@2361 | 23 } |
pankso@2361 | 24 |
pankso@2361 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2361 | 26 genpkg_rules() |
pankso@2361 | 27 { |
pankso@2361 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@2361 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2361 | 30 cp -a $_pkg/usr/share/gtksourceview* $fs/usr/share |
pankso@2361 | 31 } |
pankso@2361 | 32 |