aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opkg-utils/APKBUILD
blob: 0759b315dc908b34fab964a2c84ba3fd1a8d4ef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Ryan Barnett <ryanbarnett3@gmail.com>
pkgname=opkg-utils
pkgver=0.4.3
pkgrel=1
pkgdesc="Helper scripts for use with the opkg package manager"
url="https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/"
arch="noarch"
license="GPL-2.0-or-later"
depends="bash
	binutils
	bzip2
	coreutils
	diffutils
	findutils
	grep
	gzip
	lz4
	python3
	sed
	tar
	xz
	"
makedepends="perl"
subpackages="$pkgname-doc"
source="https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/opkg-utils-$pkgver.tar.gz
	0001-Makefile-seperate-manpages-and-utils-install.patch
	"
options="!check" # no test suite

package() {
	# There are no build commands as all files are either shell scripts
	# or python scripts
	make PREFIX=/usr DESTDIR="$pkgdir" install-utils
	# Makefile installs docs under (PREFIX)/man. Change the prefix
	# to preferred location for man pages under /usr/share
	make PREFIX=/usr/share DESTDIR="$pkgdir" install-docs
}

sha512sums="1a8e40ad4d79eb6e63ff3debcc1f97335ef6e65879a39be3394ba08454e42683c8118723c9096118af109ff502d8a0a9433caf233572e375ad675ef25a60d9f6  opkg-utils-0.4.3.tar.gz
c9f21f1f49a82bfab2c84d301a8e28e1f4346a3ae112330ba1061a4a7e32200a8e1c0be58f90c91598609fe94f7c9afe315a78f31575fff58612b7a4b97c49d9  0001-Makefile-seperate-manpages-and-utils-install.patch"