Commit b2afa3d3 authored by Alyx's avatar Alyx 🙃
Browse files

user/libmaxminddb, user/lua-yaml, user/yaml-cpp: Do the needful

parent d14e248d
......@@ -9,7 +9,6 @@ arch="all"
license="Apache-2.0"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/maxmind/libmaxminddb/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
./configure \
......
......@@ -6,10 +6,10 @@ pkgrel=0
pkgdesc="LibYAML binding for Lua"
url="https://gvvaughan.github.io/lyaml/"
arch="all"
options="!check" # No tests, sweet.
license="MIT"
depends="lua5.3"
makedepends="lua5.3-dev yaml-dev"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/gvvaughan/lyaml/archive/v$pkgver.tar.gz"
builddir="$srcdir/lyaml-$pkgver"
......
......@@ -13,7 +13,6 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/jbeder/yaml-cpp/archive/yaml
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
......@@ -30,17 +29,10 @@ build() {
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
check() {
cd "$builddir"
make test
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment