mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
added extra/gmime
This commit is contained in:
parent
22efa0458b
commit
129959e1d0
1 changed files with 39 additions and 0 deletions
39
extra/gmime/PKGBUILD
Normal file
39
extra/gmime/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
|||
# $Id: PKGBUILD 146295 2012-01-08 17:45:05Z ibiru $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Ben <ben@benmazer.net>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - v7h needs to be built as -O1, workaround for gcc bug
|
||||
# - remove noautobuild on update
|
||||
|
||||
plugrel=1
|
||||
noautobuild=1
|
||||
|
||||
pkgname=gmime
|
||||
pkgver=2.4.31
|
||||
pkgrel=1
|
||||
pkgdesc="Core mime parsing library"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
url="http://spruce.sourceforge.net/gmime/"
|
||||
depends=('glib2' 'zlib')
|
||||
makedepends=('gtk-sharp-2' 'pkgconfig')
|
||||
options=('!libtool')
|
||||
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
|
||||
sha256sums=('d9601328ee3d2d5be57ac8397571af4835dba8eb2c68ad224de3ec722a81fd04')
|
||||
|
||||
build() {
|
||||
# get rid of that .wapi errors in fakeroot
|
||||
export MONO_SHARED_DIR="$srcdir/weird"
|
||||
mkdir -p "$MONO_SHARED_DIR"
|
||||
|
||||
[ $CARCH == "armv7h" ] && CFLAGS=`echo $CFLAGS | sed -e 's/-O2/-O1/'` && CXXFLAGS="$CFLAGS"
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in a new issue