PKGBUILDs/core/netcfg/PKGBUILD

29 lines
897 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: James Rayner <james@archlinux.org>
2009-09-26 16:30:17 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=netcfg
pkgver=2.2.1
pkgrel=1
pkgdesc="Network configuration and profile scripts"
url="http://archlinux.org"
license=("BSD")
2009-09-26 16:30:17 +00:00
arch=('arm')
backup=(opt/etc/iftab)
2009-09-26 14:35:50 +00:00
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')
2009-09-26 16:30:17 +00:00
source=('ftp://ftp.archlinux.org/other/netcfg/netcfg-$pkgver.tar.gz'
'Makefile')
md5sums=('77a2d8be72debb2b9726dae19c67e98d'
'081253f522ca0d58ad240844280d661c')
2009-09-26 14:35:50 +00:00
build() {
cd $startdir/src/netcfg-$pkgver
2009-09-26 16:30:17 +00:00
rm Makefile
cp $srcdir/Makefile .
2009-09-26 14:35:50 +00:00
2009-09-26 16:30:17 +00:00
make DESTDIR=$startdir/pkg/opt install
make DESTDIR=$startdir/pkg/opt install-wireless
install -D -m644 LICENSE $startdir/pkg/opt/share/licenses/netcfg/LICENSE
2009-09-26 14:35:50 +00:00
}