2018-01-08 21:49:08 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-asus-tf101
|
2018-01-08 21:49:08 +00:00
|
|
|
pkgdesc="Asus Eee Pad Transformer"
|
2018-01-13 20:38:29 +00:00
|
|
|
pkgver=0.2
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=13
|
2018-01-08 21:49:08 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2020-08-25 22:33:43 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2020-12-22 12:25:50 +00:00
|
|
|
depends="postmarketos-base linux-asus-tf101 mkbootimg asus-transformer-blobtools"
|
2018-01-08 21:49:08 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2020-09-12 13:24:48 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="deviceinfo nvram_4329.txt modules-load.conf"
|
2018-01-08 21:49:08 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-09-12 13:24:48 +00:00
|
|
|
nonfree_firmware() {
|
2022-01-22 19:37:06 +00:00
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-aosp-broadcom-wlan"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
install -D -m644 "$srcdir"/nvram_4329.txt \
|
|
|
|
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd/bcm4329/nvram_4329.txt
|
2020-09-12 13:24:48 +00:00
|
|
|
}
|
|
|
|
|
2018-01-08 21:49:08 +00:00
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2020-09-12 13:24:48 +00:00
|
|
|
install -Dm644 "$srcdir"/modules-load.conf \
|
|
|
|
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
|
2018-01-08 21:49:08 +00:00
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
aaa7a983068bed820861fd52ef0bd737fd32f56bae88e04377ec93dc87b8f27d669d7f96aa41e7d32bd6ed25a5d7d88b4dc91acd43ccbc21df20369f5917278d deviceinfo
|
2020-09-12 13:24:48 +00:00
|
|
|
d2da77986b419abd225349b5dea197b427de15e530021bf8f81e00a8c519d1a66cf92643b75aa396dccda78496ddd070a73ef91243af8bf78f839d21e6792546 nvram_4329.txt
|
2021-09-18 17:06:03 +00:00
|
|
|
49645401e265f49cb942ef899f6ad80eb52c5b94c9eca5c311dcc3d64e0da49fa905674f3e5dc228fd2c4f3162f0c76b2a6fbab9a531031c2b21b27c57ce3ba2 modules-load.conf
|
|
|
|
"
|