28 lines
867 B
Text
28 lines
867 B
Text
pkgname=device-nokia-rx51
|
|
pkgver=1
|
|
pkgrel=1
|
|
pkgdesc="Nokia N900"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-nokia-rx51 uboot-tools"
|
|
makedepends="uboot-tools"
|
|
install=""
|
|
subpackages=""
|
|
source="deviceinfo uboot-script.cmd"
|
|
options="!check"
|
|
|
|
build() {
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -D -m644 "$srcdir"/boot.scr \
|
|
"$pkgdir"/boot/boot.scr
|
|
}
|
|
|
|
sha512sums="314b4241c4f081006b7dc126d3d088ceb1c57b69791c13c7d7e1393dd3627bf01ad29a2f9fda475631a857900d6e90524d54f43c3efc7bf77a0e435975e1d0e8 deviceinfo
|
|
011e85537f497c2888f876a63bec13e3a2853a5047a0692515d6108cee2a2b90e70fb234f9c0e67a11d64abd3a15cade0864d725548722df910d6d1cbb1216e4 uboot-script.cmd"
|