wok-current annotate gtkmm/receipt @ rev 1864
Fix: tls DEPENDS.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 16 01:40:23 2008 +0100 (2008-12-16) |
parents | 52dc4b48ed81 |
children | c91fdd0583b9 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
pankso@838 | 4 VERSION="2.12.7" |
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@838 | 8 DEPENDS="gtk+ glibmm cairomm" |
pascal@1514 | 9 BUILD_DEPENDS="gtk+-dev glibmm-dev cairomm-dev doxygen" |
pankso@137 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 11 WEB_SITE="http://www.gtkmm.org/" |
pankso@838 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/$TARBALL" |
pankso@137 | 13 |
pankso@137 | 14 # Rules to configure and make the package. |
pankso@137 | 15 compile_rules() |
pankso@137 | 16 { |
pankso@137 | 17 cd $src |
pascal@1545 | 18 sed -i 's/GTKMM_DOXYGEN_INPUT=".*/GTKMM_DOXYGEN_INPUT=""' configure |
pascal@1545 | 19 sed -i 's/^GTKMM_DOXYGEN/#GTKMM_DOXYGEN/' configure.in |
pankso@137 | 20 ./configure \ |
pankso@137 | 21 --prefix=/usr \ |
pankso@137 | 22 --infodir=/usr/share/info \ |
pankso@137 | 23 --mandir=/usr/share/man \ |
pascal@1514 | 24 $CONFIGURE_ARGS && |
pascal@1514 | 25 make && |
pankso@137 | 26 make DESTDIR=$PWD/_pkg install |
pankso@137 | 27 } |
pankso@137 | 28 |
pankso@137 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 30 genpkg_rules() |
pankso@137 | 31 { |
pankso@137 | 32 mkdir -p $fs/usr/lib |
pankso@137 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 34 strip -s $fs/usr/lib/* |
pankso@137 | 35 } |
pankso@838 | 36 |
pankso@838 | 37 clean_wok() |
pankso@838 | 38 { |
pankso@838 | 39 rm -f $WOK/$PACKAGE/classGtk_* |
pankso@838 | 40 rm -f $WOK/$PACKAGE/gtk-orientation* |
pankso@838 | 41 } |