diff --git a/community/libcoap/APKBUILD b/community/libcoap/APKBUILD index 2087ca675f4..96b22f21775 100644 --- a/community/libcoap/APKBUILD +++ b/community/libcoap/APKBUILD @@ -7,24 +7,17 @@ pkgdesc="A CoAP (RFC 7252) implementation" url="https://github.com/obgm/libcoap" arch="all" license="BSD-2-Clause" -depends="" -depends_dev="" makedepends="automake autoconf libtool asciidoc openssl-dev" checkdepends="cunit-dev" -install="" subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/obgm/$pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" +source="$pkgname-$pkgver.tar.gz::https://github.com/obgm/libcoap/archive/v$pkgver.tar.gz" prepare() { default_prepare - - cd "$builddir" ./autogen.sh } build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,11 +32,10 @@ build() { } check() { - "$builddir"/tests/testdriver + ./tests/testdriver } package() { - cd "$builddir" make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/$pkgname