Skip to content

Instantly share code, notes, and snippets.

@george-hopkins
Created May 31, 2018 19:27
Show Gist options
  • Save george-hopkins/7e09c668b4c24f823a6671af76e805b4 to your computer and use it in GitHub Desktop.
Save george-hopkins/7e09c668b4c24f823a6671af76e805b4 to your computer and use it in GitHub Desktop.
dhdutil for Alpine Linux
pkgname=dhdutil
pkgver=0.1_git20180531
pkgrel=0
_commit=ce8d5dc138698fde21a1132baa2de43da78d80e0
pkgdesc="Utility to manage Broadcom wireless cards"
url="https://github.com/george-hopkins/dhdutil"
arch="all"
license="ISC"
source="https://github.com/george-hopkins/${pkgname}/archive/${_commit}.tar.gz"
depends=""
makedepends="make"
builddir="$srcdir/$pkgname-$_commit"
options="!check"
build() {
cd "$builddir"
make
}
package() {
install -Dm755 "$builddir/dhdutil" "$pkgdir/usr/sbin/dhdutil"
}
sha512sums="99a10c9414ecf83fc84df8b964fa13eb4006a969b8d7bf04718221e7ab05d91e02975e235b9e2785774cab38f4a21603c9d021bc03312df1516e5bd27f3fd6f6 ce8d5dc138698fde21a1132baa2de43da78d80e0.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment