# $Id: PKGBUILD 199724 2013-11-15 12:12:34Z ronald $ # Maintainer: Ronald van Haren # Contributor: Ronald van Haren pkgname=eina pkgver=1.7.9 pkgrel=1 pkgdesc="A core data structure and common utility library" arch=('i686' 'x86_64' 'mips64el') url="http://www.enlightenment.org" license=('LGPL2.1') depends=('glibc') options=('!emptydirs') source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz) sha1sums=('26f385e888b29876c8fb06f35f0433ab7e3251d5') build() { cd $srcdir/$pkgname-$pkgver export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}" export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}" export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed ${LDFLAGS}" ./configure --prefix=/usr --enable-amalgamation \ --with-internal-maximum-log-level=3 \ --disable-static \ --disable-benchmark \ --disable-install-examples \ --disable-build-examples \ --disable-doc \ --disable-tests \ --enable-default-mempool \ --enable-mempool-chained-pool \ --enable-mempool-pass-through \ --disable-mempool-buddy \ --disable-mempool-ememoa-fixed \ --disable-mempool-ememoa-unknown \ --disable-mempool-fixed-bitmap \ --disable-assert \ --disable-ememoa # --disable-mempool-one-big ## this option causes a segfault in 1.7.2 make } package(){ cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }