wok-current annotate gtkmm/receipt @ rev 2542
Up: cairomm, glibmm, (Update and fix build of gtkmm)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 22 23:05:54 2009 +0100 (2009-03-22) |
parents | 8b79c3ee7ac2 |
children | 0c05abcea462 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
pankso@2542 | 4 VERSION="2.14.3" |
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@2542 | 8 DEPENDS="gtk+ glibmm cairomm libsigc++ xorg-libXdamage libgiomm" |
pankso@2542 | 9 BUILD_DEPENDS="$DEPENDS gtk+-dev glibmm-dev cairomm-dev libsigc++-dev \ |
pankso@2542 | 10 doxygen libgiomm-dev" |
pankso@137 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 12 WEB_SITE="http://www.gtkmm.org/" |
pankso@2542 | 13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.14/$TARBALL" |
pankso@137 | 14 |
pankso@137 | 15 # Rules to configure and make the package. |
pankso@137 | 16 compile_rules() |
pankso@137 | 17 { |
pankso@137 | 18 cd $src |
pankso@2542 | 19 sed -i 's/GTKMM_DOXYGEN_INPUT=".*/GTKMM_DOXYGEN_INPUT=""'/ configure |
pascal@1545 | 20 sed -i 's/^GTKMM_DOXYGEN/#GTKMM_DOXYGEN/' configure.in |
pankso@137 | 21 ./configure \ |
pankso@137 | 22 --prefix=/usr \ |
pankso@137 | 23 --infodir=/usr/share/info \ |
pankso@137 | 24 --mandir=/usr/share/man \ |
pascal@1514 | 25 $CONFIGURE_ARGS && |
pascal@1514 | 26 make && |
pankso@137 | 27 make DESTDIR=$PWD/_pkg install |
pankso@137 | 28 } |
pankso@137 | 29 |
pankso@137 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 31 genpkg_rules() |
pankso@137 | 32 { |
pankso@137 | 33 mkdir -p $fs/usr/lib |
pankso@137 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 35 } |