gtkmm2: disable static, set -devel noarch.

This commit is contained in:
Juan RP 2012-10-10 15:00:58 +02:00
parent 65338ff3e8
commit dd975d16f7
2 changed files with 12 additions and 13 deletions

View File

@ -1,15 +1,14 @@
# Template file for 'gtkmm2-devel'.
#
depends="pkg-config glib-devel atk-devel pango-devel cairo-devel freetype-devel fontconfig-devel gtk+-devel libsigc++-devel glibmm-devel atkmm-devel pangomm-devel cairomm-devel gtkmm2"
depends="glibmm-devel atkmm-devel pangomm-devel gtk+-devel gtkmm2-${version}_${revision}"
noarch=yes
short_desc="${sourcepkg} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install()
{
do_install() {
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/{g[dt]k*,pkgconfig} ${DESTDIR}/usr/lib

View File

@ -1,14 +1,17 @@
# Template build file for 'gtkmm'.
pkgname=gtkmm2
version=2.24.0
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.bz2"
revision=4
wrksrc=gtkmm-${version}
subpackages="gtkmm2-devel"
build_style=gnu-configure
configure_args="--disable-documentation"
revision=3
makedepends="pkg-config glib-devel atk-devel pango-devel cairo-devel freetype-devel fontconfig-devel gtk+-devel libsigc++-devel glibmm-devel atkmm-devel pangomm-devel cairomm-devel libXcursor-devel"
configure_args="--disable-static --disable-documentation"
makedepends="pkg-config glib-devel atk-devel pango-devel cairo-devel
freetype-devel fontconfig-devel gtk+-devel libsigc++-devel glibmm-devel
atkmm-devel pangomm-devel cairomm-devel libXcursor-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
wrksrc=gtkmm-${version}
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.bz2"
checksum=8cbae7254746bc7df7cce882d9b9a916c4e00dba7bdacd1c50b5d096a484cf56
long_desc="
gtkmm (previously known as Gtk--) is the official C++ interface for the
@ -21,9 +24,6 @@ long_desc="
Aside from the C++ interface to Gtk 2.x, this package also provides
bindings for the ATK library."
subpackages="gtkmm2-devel"
pre_install() {
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
}