ports/contrib (3.3): gpgme: seperate soft dependences python and qt5 bindings to there own packages
commit dc8e2f3064ec34110d1cea380d3d3cc2ba973982 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Dec 17 23:38:08 2016 +1100 gpgme: seperate soft dependences python and qt5 bindings to there own packages diff --git a/gpgme/.footprint b/gpgme/.footprint index cb15fa3..87b3594 100644 --- a/gpgme/.footprint +++ b/gpgme/.footprint @@ -2,6 +2,9 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/gpgme-config -rwxr-xr-x root/root usr/bin/gpgme-tool +drwxr-xr-x root/root usr/etc/ +drwxr-xr-x root/root usr/etc/gpgme/ +-rw-r--r-- root/root usr/etc/gpgme/base drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/include/gpgme++/ -rw-r--r-- root/root usr/include/gpgme++/configuration.h diff --git a/gpgme/Pkgfile b/gpgme/Pkgfile index 1340df6..fce6afd 100644 --- a/gpgme/Pkgfile +++ b/gpgme/Pkgfile @@ -1,4 +1,4 @@ -# Description: An API for GnuPG. +# Description: A C, CXX, and lisp API for GnuPG. # URL: http://www.gnupg.org/gpgme.html # Maintainer: Danny Rawlins, crux at romster dot me # Packager: Brett Goulder, predatorfreak at dcaf-security dot org @@ -6,7 +6,7 @@ name=gpgme version=1.8.0 -release=2 +release=3 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) @@ -19,10 +19,16 @@ build() { ./configure \ --prefix=/usr \ - --libexecdir=/usr/lib + --enable-languages='cl cpp' make make DESTDIR=$PKG install + sed -i -e 's:^avail_lang=.*:avail_lang="$(cat /usr/etc/gpgme/* | xargs)":' \ + $PKG/usr/bin/gpgme-config + + install -d $PKG/usr/etc/gpgme + echo 'c cl cpp' > $PKG/usr/etc/gpgme/base + rm -r $PKG/usr/share/info }
participants (1)
-
crux@crux.nu