aboutsummaryrefslogblamecommitdiffstats
path: root/testing/opkg/APKBUILD
blob: 29b032cc8e8f971f0e43f841cd919cf43bd4398b (plain) (tree)
1
2
3

                                                   
            




























                                                                                 
                                                                                                                                                                
# Maintainer: Ryan Barnett <ryanbarnett3@gmail.com>
pkgname=opkg
pkgver=0.4.5
pkgrel=0
pkgdesc="Lightweight package management system"
url="http://git.yoctoproject.org/cgit/cgit.cgi/opkg/"
arch="all"
license="GPL-2.0-or-later"
makedepends="curl-dev gpgme-dev libarchive-dev autoconf automake libtool pkgconf"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="http://downloads.yoctoproject.org/releases/opkg/opkg-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	# Tests cannot be run in parallel, must be sequential
	make -j 1 check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="d2d7b75f285c0cc3b85aaa9c0b2c4968e02be5f2aa9c084f58987572840900f9aee31d1fd899cf25497fb1166520277cdc417c2046c13cedc01e84b750166619  opkg-0.4.5.tar.gz"