mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added community/synce-libmimedir
This commit is contained in:
parent
50f1828b8a
commit
987280993a
1 changed files with 34 additions and 0 deletions
34
community/synce-libmimedir/PKGBUILD
Normal file
34
community/synce-libmimedir/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# $Id$
|
||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||||
# Contributor: Zhukov Pavel <gelios@gmail.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - staticlibs option
|
||||
# - build with -fPIC for armv7h
|
||||
|
||||
pkgname=synce-libmimedir
|
||||
pkgver=0.4
|
||||
pkgrel=5.2
|
||||
pkgdesc="provide a means of communication with a Windows CE device - library that parses MIME Directory Profile."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://synce.sourceforge.net/"
|
||||
license=('GPL')
|
||||
options=('staticlibs')
|
||||
source=(http://downloads.sourceforge.net/sourceforge/synce/libmimedir-$pkgver.tar.gz)
|
||||
md5sums=('156e1eb69377d9ae9180a09e38148ec6')
|
||||
|
||||
build() {
|
||||
cd $srcdir/libmimedir-$pkgver
|
||||
if [ "$CARCH" = "x86_64" -o "$CARCH" = "armv7h" ]; then
|
||||
sed -i -e 's|Wall|Wall -fPIC -DPIC|g' Makefile.in
|
||||
./configure --prefix=/usr --disable-shared --with-pic
|
||||
else ./configure --prefix=/usr --disable-shared
|
||||
fi
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/libmimedir-$pkgver
|
||||
mkdir -p $pkgdir/usr/{include,lib}
|
||||
make prefix=$pkgdir/usr install
|
||||
}
|
Loading…
Reference in a new issue