wok-next annotate gtkmm/receipt @ rev 7106
Up: goffice to 0.8.11.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 03 06:25:47 2010 +0000 (2010-11-03) |
parents | 8806a69fb967 |
children | eed0978232a8 |
rev | line source |
---|---|
pankso@137 | 1 # SliTaz package receipt. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="gtkmm" |
slaxemulator@7095 | 4 VERSION="2.22.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" |
slaxemulator@7095 | 8 DEPENDS="gtk+ atkmm glibmm cairomm libsigc++ xorg-libXdamage libgiomm pangomm \ |
pascal@5001 | 9 gcc-lib-base" |
slaxemulator@7095 | 10 BUILD_DEPENDS="gtk+-dev glibmm-dev cairomm-dev libsigc++-dev \ |
slaxemulator@7095 | 11 doxygen libgiomm-dev pangomm pangomm-dev" |
slaxemulator@7095 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 \ |
slaxemulator@5473 | 26 --disable-docmentation \ |
pascal@1514 | 27 $CONFIGURE_ARGS && |
pascal@5783 | 28 make -j 4 && |
pankso@137 | 29 make DESTDIR=$PWD/_pkg install |
pankso@137 | 30 } |
pankso@137 | 31 |
pankso@137 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@137 | 33 genpkg_rules() |
pankso@137 | 34 { |
pankso@137 | 35 mkdir -p $fs/usr/lib |
pankso@137 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@137 | 37 } |