29 lines
421 B
Bash
29 lines
421 B
Bash
|
pkgname=wpa_supplicant
|
||
|
pkgver=2.9
|
||
|
|
||
|
fetch() {
|
||
|
curl "https://w1.fi/releases/wpa_supplicant-2.9.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||
|
cp ../config .
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-$pkgver
|
||
|
cd $pkgname
|
||
|
cp ../../config .config
|
||
|
|
||
|
gmake
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
cd $pkgname
|
||
|
gmake install DESTDIR=$pkgdir BINDIR=/usr/sbin
|
||
|
}
|
||
|
|
||
|
license() {
|
||
|
cd $pkgname-$pkgver
|
||
|
cat LICENSE
|
||
|
# cat COPYING
|
||
|
}
|