2021-06-27 19:36:32 +10:00
|
|
|
# Description: A C wrapper and Python bindings library for GnuPG
|
2019-09-02 00:47:14 +10:00
|
|
|
# URL: https://www.gnupg.org/related_software/gpgme/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2022-09-05 16:11:58 +02:00
|
|
|
# Depends on: gnupg swig python3-setuptools
|
2007-02-27 21:17:58 +11:00
|
|
|
|
|
|
|
name=gpgme
|
2023-04-29 21:12:23 +02:00
|
|
|
version=1.20.0
|
2021-06-27 19:02:24 +00:00
|
|
|
release=1
|
2023-04-01 16:03:39 +02:00
|
|
|
source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2)
|
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
|
|
|
|
2021-06-27 19:36:32 +10:00
|
|
|
export PYTHON='/usr/bin/python3'
|
2007-02-27 21:17:58 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-06-27 19:36:32 +10:00
|
|
|
--disable-fd-passing \
|
|
|
|
--disable-gpgsm-test \
|
|
|
|
--enable-languages='cl cpp python'
|
2007-02-27 21:17:58 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2016-12-15 12:57:52 +11:00
|
|
|
|
2021-06-27 19:36:32 +10:00
|
|
|
cd lang/python
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2016-12-17 23:38:08 +11:00
|
|
|
install -d $PKG/usr/etc/gpgme
|
|
|
|
echo 'c cl cpp' > $PKG/usr/etc/gpgme/base
|
2021-06-27 19:36:32 +10:00
|
|
|
echo 'python3' > $PKG/usr/etc/gpgme/python
|
2016-12-17 23:38:08 +11:00
|
|
|
|
2008-03-08 03:50:01 +11:00
|
|
|
rm -r $PKG/usr/share/info
|
2021-06-27 19:36:32 +10:00
|
|
|
rm -rf $PKG/usr/lib/python2.7
|
2007-02-27 21:17:58 +11:00
|
|
|
}
|