mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-11 19:51:36 +01:00
Simple C99 Base16, Base32 and Base64 encode and decode library https://github.com/tspspi/libbaseencode
27 lines
813 B
Plaintext
27 lines
813 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=libbaseencode
|
|
pkgver=1.0.9
|
|
pkgrel=0
|
|
pkgdesc="Library for encoding decoding data use base32 or base64"
|
|
options="!check" # No woerking testsuite
|
|
url="https://github.com/paolostivanin/libbaseencode"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
makedepends="cmake"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/paolostivanin/libbaseencode/archive/v${pkgver}.tar.gz"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="26f3c8db6d72aad77fab9d6cdfe94e39891d7afff44d30af79926af72f1af97b8108a8226f376bd0bd3c8c02167a512604c7a52d16a8bce4167a7bdd4a2e603f libbaseencode-1.0.9.tar.gz"
|