wok-6.x annotate gtkmm/receipt @ rev 5467
Up linmodem-slmodem (2.9.11-20100303)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 20:07:57 2010 +0200 (2010-05-05) |
parents | 9f19aee613be |
children | 7588db8eeda4 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
slaxemulator@5436 | 4 VERSION="2.20.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" |
pascal@5001 | 8 DEPENDS="gtk+ glibmm cairomm libsigc++ xorg-libXdamage libgiomm pangomm \ |
pascal@5001 | 9 gcc-lib-base" |
pankso@2542 | 10 BUILD_DEPENDS="$DEPENDS gtk+-dev glibmm-dev cairomm-dev libsigc++-dev \ |
pankso@2542 | 11 doxygen libgiomm-dev" |
pankso@137 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@137 | 13 WEB_SITE="http://www.gtkmm.org/" |
slaxemulator@5436 | 14 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/${VERSION%.*}/$TARBALL" |
pankso@137 | 15 |
pankso@137 | 16 # Rules to configure and make the package. |
pankso@137 | 17 compile_rules() |
pankso@137 | 18 { |
pankso@137 | 19 cd $src |
pankso@2542 | 20 sed -i 's/GTKMM_DOXYGEN_INPUT=".*/GTKMM_DOXYGEN_INPUT=""'/ configure |
pascal@1545 | 21 sed -i 's/^GTKMM_DOXYGEN/#GTKMM_DOXYGEN/' configure.in |
pankso@137 | 22 ./configure \ |
pankso@137 | 23 --prefix=/usr \ |
pankso@137 | 24 --infodir=/usr/share/info \ |
pankso@137 | 25 --mandir=/usr/share/man \ |
pascal@1514 | 26 $CONFIGURE_ARGS && |
pascal@1514 | 27 make && |
pankso@137 | 28 make DESTDIR=$PWD/_pkg install |
pankso@137 | 29 } |
pankso@137 | 30 |
pankso@137 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 32 genpkg_rules() |
pankso@137 | 33 { |
pankso@137 | 34 mkdir -p $fs/usr/lib |
pankso@137 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 36 } |