wok-6.x annotate gtkmm/receipt @ rev 6101
uclibc-*: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 31 22:19:24 2010 +0200 (2010-08-31) |
parents | c38d85e890c2 |
children | e11ea00cf974 |
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 \ |
slaxemulator@5469 | 11 doxygen libgiomm-dev pangomm-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 \ |
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 } |