projects/aports·blob master · refs

39 lines · 1.0 KiB

1# Maintainer: Ryan Barnett <[email protected]>
2pkgname=opkg-utils
3pkgver=0.7.0
4pkgrel=0
5pkgdesc="Helper scripts for use with the opkg package manager"
6url="https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/"
7arch="noarch"
8license="GPL-2.0-or-later"
9depends="bash
10 binutils
11 bzip2
12 coreutils
13 diffutils
14 findutils
15 grep
16 gzip
17 lz4
18 python3
19 sed
20 tar
21 xz
22 "
23makedepends="perl"
24subpackages="$pkgname-doc"
25source="https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/opkg-utils-$pkgver.tar.gz"
26options="!check" # no test suite
27
28package() {
29 # There are no build commands as all files are either shell scripts
30 # or python scripts
31 make PREFIX=/usr DESTDIR="$pkgdir" install-utils
32 # Makefile installs docs under (PREFIX)/man. Change the prefix
33 # to preferred location for man pages under /usr/share
34 make PREFIX=/usr/share DESTDIR="$pkgdir" install-docs
35}
36
37sha512sums="
38441ee5ed416c3565617ae5fc413846ebc53e33876f9cce5e721afef2b8d9cd68723231ea12c8a2effaba2ccb33a36dc6e180994a57e6871f34d671c03ab36b7b opkg-utils-0.7.0.tar.gz
39"