mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 07:52:26 +01:00
testing/utfcpp: new aport
https://github.com/nemtrif/utfcpp UTF-8 with C++ in a portable way
This commit is contained in:
parent
cfb50505e3
commit
e95ea80e58
34
testing/utfcpp/APKBUILD
Normal file
34
testing/utfcpp/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Contributor: Leon Marz <lmarz@cs.uni-frankfurt.de>
|
||||
# Maintainer: Leon Marz <lmarz@cs.uni-frankfurt.de>
|
||||
pkgname=utfcpp
|
||||
pkgver=3.1.1
|
||||
pkgrel=0
|
||||
pkgdesc="UTF-8 with C++ in a portable way"
|
||||
url="https://github.com/nemtrif/utfcpp"
|
||||
arch="all"
|
||||
license="BSL-1.0"
|
||||
makedepends="cmake"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/nemtrif/utfcpp/archive/v$pkgver.tar.gz"
|
||||
options="!check" # problems with gtest
|
||||
|
||||
build() {
|
||||
cmake -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=True \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DUTF8_TESTS=OFF \
|
||||
-DUTF8_SAMPLES=OFF \
|
||||
.
|
||||
make -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
CTEST_OUTPUT_ON_FAILURE=1 make -C build check
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="720e2eba5c04f0bc4903a287138149a9cd432bc68bb163fe36b2e0d26d8bf616b4665f389b4a9c97af6ae7869e78973d97db976a4745512a241eebf774608997 utfcpp-3.1.1.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user