PKGBUILDs/core/netcfg/PKGBUILD

29 lines
836 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# $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')