summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-01 08:53:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-01 08:53:39 (GMT)
commit2a9517075a4b69a6b76c60218d882edfd1bfb17c (patch)
tree7222edb09947865774de290dbd8b047ee86cd5e0
parentcca1c731c7ff1d31304e0096505942dd5e100478 (diff)
downloadlinhes_pkgbuild-2a9517075a4b69a6b76c60218d882edfd1bfb17c.zip
linhes_pkgbuild-2a9517075a4b69a6b76c60218d882edfd1bfb17c.tar.gz
linhes_pkgbuild-2a9517075a4b69a6b76c60218d882edfd1bfb17c.tar.bz2
netcfg: added back to repo. Shouldn't be used by linhes, but somebody may read a wiki somewhere and want to use it.
-rw-r--r--abs/core/netcfg/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/core/netcfg/PKGBUILD b/abs/core/netcfg/PKGBUILD
new file mode 100644
index 0000000..7e7ea7b
--- /dev/null
+++ b/abs/core/netcfg/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 126281 2011-06-04 04:21:49Z eric $
+# Maintainer: James Rayner <james@archlinux.org>
+
+pkgname=netcfg
+pkgver=2.5.5
+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'
+ 'wpa_actiond: Required for automatic wireless connection with rc.d/net-auto-wireless'
+ 'ifplugd: Required for automatic wired connection with rc.d/net-auto-wired')
+source=(ftp://ftp.archlinux.org/other/netcfg/netcfg-${pkgver}.tar.gz)
+arch=(any)
+md5sums=('6e98bae291eb206d92f9a92bbab8fe80')
+
+package() {
+ cd "$srcdir/netcfg-${pkgver}"
+
+ make DESTDIR="$pkgdir" install
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/netcfg/LICENSE"
+ ln -s /usr/lib/network/connections/wireless "$pkgdir/usr/lib/network/connections/wireless-dbus"
+ ln -s /usr/bin/netcfg2 "$pkgdir/usr/bin/netcfg"
+}
+