| 1 | # Maintainer: Ryan Barnett <[email protected]> |
| 2 | pkgname=opkg-utils |
| 3 | pkgver=0.7.0 |
| 4 | pkgrel=0 |
| 5 | pkgdesc="Helper scripts for use with the opkg package manager" |
| 6 | url="https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/" |
| 7 | arch="noarch" |
| 8 | license="GPL-2.0-or-later" |
| 9 | depends="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 | " |
| 23 | makedepends="perl" |
| 24 | subpackages="$pkgname-doc" |
| 25 | source="https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/opkg-utils-$pkgver.tar.gz" |
| 26 | options="!check" # no test suite |
| 27 | |
| 28 | package() { |
| 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 | |
| 37 | sha512sums=" |
| 38 | 441ee5ed416c3565617ae5fc413846ebc53e33876f9cce5e721afef2b8d9cd68723231ea12c8a2effaba2ccb33a36dc6e180994a57e6871f34d671c03ab36b7b opkg-utils-0.7.0.tar.gz |
| 39 | " |