blob: 9f73f7501fb65fc293285cbb19df31339e73c90e (
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
|
# Maintainer: Michael Hansen <zrax0111 gmail com>
pkgname=opkg
pkgver=0.7.0
pkgrel=1
pkgdesc="Opkg is a lightweight package management system based upon ipkg"
arch=('i386' 'x86_64')
url="https://git.yoctoproject.org/cgit/cgit.cgi/opkg"
license=('GPL')
depends=('curl' 'libarchive' 'gpgme' 'libsolv>=0.7.14')
source=("http://downloads.yoctoproject.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('d973fd0f1568f58f87d6aecd9aa95e3e1f60214a45cee26704bf8fe757c54567')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-libsolv
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}/" install
}
|