wok annotate gtkmm/receipt @ rev 745
categories extra(s) -> misc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 05 18:55:21 2008 +0000 (2008-05-05) |
parents | a81f47fdb29b |
children | 41331a17ef8a |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
pankso@137 | 4 VERSION="2.8.12" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@137 | 6 SHORT_DESC="C++ interface for the popular GUI library GTK+." |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@137 | 8 BUILD_DEPENDS="gtk+-dev glibmm-dev" |
pankso@137 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 10 WEB_SITE="http://www.gtkmm.org/" |
pankso@137 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.8/$TARBALL" |
pankso@137 | 12 |
pankso@137 | 13 # Rules to configure and make the package. |
pankso@137 | 14 compile_rules() |
pankso@137 | 15 { |
pankso@137 | 16 cd $src |
pankso@137 | 17 ./configure \ |
pankso@137 | 18 --prefix=/usr \ |
pankso@137 | 19 --infodir=/usr/share/info \ |
pankso@137 | 20 --mandir=/usr/share/man \ |
pankso@137 | 21 $CONFIGURE_ARGS |
pankso@137 | 22 make |
pankso@137 | 23 make DESTDIR=$PWD/_pkg install |
pankso@137 | 24 } |
pankso@137 | 25 |
pankso@137 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 27 genpkg_rules() |
pankso@137 | 28 { |
pankso@137 | 29 mkdir -p $fs/usr/lib |
pankso@137 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 31 strip -s $fs/usr/lib/* |
pankso@137 | 32 # clean wok |
pankso@137 | 33 rm $WOK/$PACKAGE/classGtk_* |
pankso@137 | 34 } |