summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandr Boiko2016-07-29 17:52:35 +1100
committerAlexandr Boiko2016-07-29 17:52:35 +1100
commit4f1ab2e39d749f38109742224f6213abe4a9ef50 (patch)
treec153ca20f4603df580cfbab263a5681e59dbd948
downloadaur-4f1ab2e39d749f38109742224f6213abe4a9ef50.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD30
-rw-r--r--dkms.conf8
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b5c489d8f8e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = accel-ppp-vlanmon-dkms
+ pkgdesc = Accel-ppp vlan_mon kernel module sources
+ pkgver = 1.11.0
+ pkgrel = 1
+ url = http://sourceforge.net/apps/trac/accel-ppp/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = dkms
+ depends = lua51
+ source = http://sourceforge.net/projects/accel-ppp/files/accel-ppp-1.11.0.tar.bz2
+ source = dkms.conf
+ md5sums = 2a840be652604795a1cbba8d2c6cb7fe
+ md5sums = ecb9e73f9243d773949cab8f2de36fc9
+
+pkgname = accel-ppp-vlanmon-dkms
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a1c506199f7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Alexandr Boiko <brdcom@ya.ru>
+
+pkgname=accel-ppp-vlanmon-dkms
+_pkgname=accel-ppp
+pkgver=1.11.0
+pkgrel=1
+pkgdesc='Accel-ppp vlan_mon kernel module sources'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/apps/trac/accel-ppp/'
+license=('GPL')
+depends=('dkms' 'lua51')
+source=(http://sourceforge.net/projects/$_pkgname/files/$_pkgname-$pkgver.tar.bz2
+ dkms.conf)
+
+package() {
+ cd "$srcdir/${_pkgname}-${pkgver}"
+ install -dm755 "$pkgdir/usr/src"
+ install -dm755 "$pkgdir/usr/lib/modules-load.d"
+ cd drivers
+ cp -r vlan_mon "$pkgdir/usr/src/accel-ppp-vlanmon-$pkgver"
+ # Copy dkms.conf
+ install -Dm0644 "$srcdir/dkms.conf" "$pkgdir/usr/src/accel-ppp-vlanmon-$pkgver/dkms.conf"
+ # Set name and version
+ sed -e "s/@PKGNAME@/${pkgname}/" \
+ -e "s/@PKGVER@/${pkgver}/" \
+ -i "${pkgdir}"/usr/src/accel-ppp-vlanmon-${pkgver}/dkms.conf
+}
+
+md5sums=('2a840be652604795a1cbba8d2c6cb7fe'
+ 'ecb9e73f9243d773949cab8f2de36fc9')
diff --git a/dkms.conf b/dkms.conf
new file mode 100644
index 00000000000..32e5fe4278a
--- /dev/null
+++ b/dkms.conf
@@ -0,0 +1,8 @@
+PACKAGE_NAME=@PKGNAME@
+PACKAGE_VERSION=@PKGVER@
+REMAKE_INITRD=no
+AUTOINSTALL=yes
+
+BUILT_MODULE_NAME="vlan_mon"
+DEST_MODULE_LOCATION="/kernel/misc"
+