Commit 81a6d28f authored by Natanael Copa's avatar Natanael Copa

main/dahdi-linux-grsec: instll modules

fixes 322
parent 81b3d7a9
...@@ -16,7 +16,7 @@ _realname=dahdi-linux ...@@ -16,7 +16,7 @@ _realname=dahdi-linux
pkgname=${_realname}-${_flavor} pkgname=${_realname}-${_flavor}
pkgver=$pkgver pkgver=$pkgver
_dahdiver=2.2.0.2 _dahdiver=2.2.0.2
_mypkgrel=0 _mypkgrel=1
pkgrel=$(( $_kpkgrel + $_mypkgrel )) pkgrel=$(( $_kpkgrel + $_mypkgrel ))
pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver"
url="http://www.asterisk.org" url="http://www.asterisk.org"
...@@ -54,7 +54,7 @@ build() { ...@@ -54,7 +54,7 @@ build() {
package() { package() {
cd "$srcdir/$_realname-$_dahdiver" cd "$srcdir/$_realname-$_dahdiver"
make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \
DESTDIR="$pkgdir" install DESTDIR="$pkgdir" install-modules
rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \ rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \
"$pkgdir"/usr/include "$pkgdir"/usr/include
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment