2018-03-05 20:55:05 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-samsung-p4wifi"
|
|
|
|
pkgdesc="Galaxy Tab 10.1"
|
|
|
|
pkgver=0.1
|
2018-03-07 22:35:02 +00:00
|
|
|
pkgrel=2
|
2018-03-05 20:55:05 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
|
|
|
depends="postmarketos-base linux-samsung-p4wifi mkbootimg mesa-dri-swrast"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="bcm4330 wifi firmware"
|
|
|
|
depends="firmware-samsung-p4wifi"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-03-07 22:35:02 +00:00
|
|
|
sha512sums="1a7c18122a83ec6f1e49708170b870b7275afd73f40db5aa2dea2776105c37b945d70e962e9d502e0bb985e52759d22a3bf35d33ce38086aa09734ef3f5b42a1 deviceinfo"
|