summaryrefslogtreecommitdiff
path: root/extra/eina/PKGBUILD
blob: e7296c4dbaeac2235f618b8f1600a87b9893565b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# $Id: PKGBUILD 185665 2013-05-16 20:54:50Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Ronald van Haren <ronald.archlinux.org>

pkgname=eina
pkgver=1.7.7
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=('!libtool' '!emptydirs')
source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz)
sha1sums=('74260d239cdf1f7da1f0ab106fb144fa23d74a87')

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
}