contrib/gpgme/Pkgfile

29 lines
606 B
Plaintext
Raw Normal View History

2007-02-27 21:17:58 +11:00
# Description: An API for GnuPG.
2007-12-12 21:14:57 +11:00
# URL: http://www.gnupg.org/gpgme.html
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2007-12-12 21:14:57 +11:00
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
# Depends on: gnupg
2007-02-27 21:17:58 +11:00
name=gpgme
2016-12-12 08:07:09 +11:00
version=1.8.0
2016-12-15 12:57:52 +11:00
release=2
source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2
gpgme-1.1.8-et_EE.patch
gpgme-1.8.0-cmake.patch)
2007-02-27 21:17:58 +11:00
build() {
2008-11-18 18:45:30 +11:00
cd $name-$version
2007-02-27 21:17:58 +11:00
2016-12-15 12:57:52 +11:00
patch -p1 -i $SRC/gpgme-1.1.8-et_EE.patch
patch -p1 -i $SRC/gpgme-1.8.0-cmake.patch
2007-02-27 21:17:58 +11:00
./configure \
--prefix=/usr \
2016-12-15 12:57:52 +11:00
--libexecdir=/usr/lib
2007-02-27 21:17:58 +11:00
make
make DESTDIR=$PKG install
2016-12-15 12:57:52 +11:00
2008-03-08 03:50:01 +11:00
rm -r $PKG/usr/share/info
2007-02-27 21:17:58 +11:00
}