wok-current annotate gtkmm/receipt @ rev 3499
tazdev: Add command gen-chroot and clean-chroot + tiny fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 19 02:43:44 2009 +0200 (2009-06-19) |
parents | 0c05abcea462 |
children | 9f19aee613be |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
pankso@3069 | 4 VERSION="2.16.0" |
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" |
pascal@2567 | 8 DEPENDS="gtk+ glibmm cairomm libsigc++ xorg-libXdamage libgiomm pangomm" |
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@3069 | 13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.16/$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 } |