pmaports/device/testing/device-samsung-lt01wifi/APKBUILD
knuxify 630c9c2af9
samsung-lt01wifi: updates (!1081)
- Proper WiFi support (building modules, firmware package)
- Architecture change to armv7
- Fix no MAC address on USB networking

[ci:skip-build]: already built successfully in CI
2020-03-21 22:04:37 +01:00

39 lines
1.3 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
# Contributor: knuxfanwin8 <knuxfanwin8.mail@gmail.com>
pkgname="device-samsung-lt01wifi"
pkgdesc="Samsung Galaxy Tab 3 8.0"
pkgver=0.1
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-lt01wifi mkbootimg mesa-dri-swrast"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
modules-load.conf
modprobe.conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/modules-load.conf \
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
install -Dm644 "$srcdir"/modprobe.conf \
"$pkgdir"/etc/modprobe.d/dhd.conf
}
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-lt01wifi"
mkdir "$subpkgdir"
}
sha512sums="991e38af2ddbf67ca7e9045c8dcc3b0fbf6312dfeb8d83d612c7781f6e332dc92a4e0ef5a8d5822e4ae9de247c150ac9335942355a69e0e0d2a574dcff918919 deviceinfo
af036fe35011db078379dbb2e8c16c86546f0a4fcb3d1bcee3502bb1ea5b38f3ec5a9fa8cd1ca8ed8b89592a7f572d6072781289845303e0bf85fc2de4ead9fb modules-load.conf
594d6059ba1b06bce65538d26ce80cf2ce840786605b86e993ffaef858837507c033c0f95b7bcd9914ae7ea3cd2a9e43e32ec879db7c908219ad62d38b4e426a modprobe.conf"