smlinux/base/gpgme/gpgme.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

39 lines
934 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gpgme
version=1.23.2
build=1sml
homepage="https://gnupg.org/software/gpgme/index.html"
download="https://gnupg.org/ftp/gcrypt/gpgme/gpgme-$version.tar.bz2"
desc="C language library to easily add crypto to a program"
requires="gcc-libs libassuan libgpg-error"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/lfs64.patch
}
build() {
# TODO: disable linking against qt5
./configure \
--prefix=/usr \
--disable-static \
--disable-gpg-test \
--enable-languages="cl cpp" \
--disable-dependency-tracking
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
109aceb4d753f6b1367a3fa503280d1f2de61b0f4719930b82e1996fa58ffa641798524de2a9124c1e25cb8e8b3dc5611062fe2872573c979b6fd94d92e721f1 gpgme-1.23.2.tar.lz
"