mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
836 B
Bash
29 lines
836 B
Bash
|
# $Id$
|
||
|
# Maintainer: James Rayner <james@archlinux.org>
|
||
|
pkgname=netcfg
|
||
|
pkgver=2.2.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="Network configuration and profile scripts"
|
||
|
url="http://archlinux.org"
|
||
|
license=("BSD")
|
||
|
backup=(etc/iftab)
|
||
|
depends=(wireless_tools coreutils "wpa_supplicant>=0.6.8" net-tools "dhcpcd>=4.0" "iproute2")
|
||
|
optdepends=('dialog: Required for menu based profile selector' \
|
||
|
'dbus-python: For wireless connection using wpa_supplicant/dbus')
|
||
|
source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-$pkgver.tar.gz)
|
||
|
|
||
|
arch=('arm')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/netcfg-$pkgver
|
||
|
|
||
|
make DESTDIR=$startdir/pkg install
|
||
|
make DESTDIR=$startdir/pkg install-wireless
|
||
|
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/netcfg/LICENSE
|
||
|
|
||
|
ln -s /usr/bin/netcfg2 $startdir/pkg/usr/bin/netcfg
|
||
|
}
|
||
|
|
||
|
|
||
|
md5sums=('77a2d8be72debb2b9726dae19c67e98d')
|