diff options
Diffstat (limited to 'main/dahdi-linux-vserver/APKBUILD')
-rw-r--r-- | main/dahdi-linux-vserver/APKBUILD | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/main/dahdi-linux-vserver/APKBUILD b/main/dahdi-linux-vserver/APKBUILD deleted file mode 100644 index 93a4ffecad..0000000000 --- a/main/dahdi-linux-vserver/APKBUILD +++ /dev/null @@ -1,114 +0,0 @@ -# Contributor: Timo Teras <timo.teras@iki.fi> -# Maintainer: Timo Teras <timo.teras@iki.fi> - -_flavor=${FLAVOR:-vserver} -_realname=dahdi-linux -_name=$_realname-$_flavor -_kpkg=linux-$_flavor -_kver=3.6.11 -_kpkgrel=3 -_myvsver=vs2.3.4.6 - -# verify the kernel version before entering chroot -if [ -f ../linux-${_flavor}/APKBUILD ]; then - . ../linux-${_flavor}/APKBUILD - pkgname=${_realname}-${_flavor} - [ "$_kver" != "$pkgver" ] \ - && die "please update _kver to $pkgver" - [ "$_kpkgrel" != "$pkgrel" ] \ - && die "please update _kpkgrel to $pkgrel" - [ "$_myvsver" != "$_vsver" ] \ - && die "please update _myvsver to $_vsver" -fi - -_kpkgver="$_kver-r$_kpkgrel" -_abi_release=${_kver}-$_myvsver - -pkgname=${_realname}-${_flavor} -pkgver=$pkgver -# when bumping _dahdiver we *must* bump _mypkgrel -_dahdiver=2.6.1 -_mypkgrel=0 -pkgrel=$(( $_kpkgrel + $_mypkgrel )) -pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver" -url="http://www.asterisk.org" -arch="all" -license="GPL" -depends="dahdi-linux linux-${_flavor}=${_kpkgver}" -# we need wget and tar because make install downloads firmware and uses fancy -# options for tar and wget. -makedepends="linux-${_flavor}-dev=${_kpkgver} wget tar perl" -install= -subpackages="$pkgname-dev" -source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realname}-$_dahdiver.tar.gz - dahdi-depmod.patch - dahdi-bri_dchan.patch - dahdi-zaphfc.patch - zaphfc-dahdi-flortz.diff - zaphfc-dahdi-2.4.0.patch - zaphfc-dahdi-2.5.0.patch - zaphfc-dahdi-2.6.0.patch - " - -prepare() { - cd "$srcdir/$_realname-$_dahdiver" - for i in $source; do - case $i in - *.patch|*.diff) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done -} - -build() { - cd "$srcdir/$_realname-$_dahdiver" - export GCC_SPECS=/usr/share/gcc/hardenednopie.specs - make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ - || return 1 -} - -package() { - cd "$srcdir/$_realname-$_dahdiver" - make KVERS="${_abi_release}" DYNFS="yes" MODULES_EXTRA="zaphfc" \ - DESTDIR="$pkgdir" install-modules - rm -rf "$pkgdir"/lib/firmware "$pkgdir"/usr/lib/hotplug/firmware \ - "$pkgdir"/usr/include -} - -# since we sourced the APKBUILD above we got the dev() function there to -# so we override it again. -depends_dev="dahdi-linux-dev" -dev() { - default_dev - local dir="$subpkgdir"/usr/src/dahdi-headers-${_abi_release} - install -D "$srcdir"/$_realname-$_dahdiver/drivers/dahdi/Module.symvers \ - "$dir"/drivers/dahdi/Module.symvers - ln -s /usr/include "$dir"/include -} - -md5sums="75932fe3d4a6e656165aaaa7a1377305 dahdi-linux-2.6.1.tar.gz -c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch -3bb419ac598534cd4ad5248f23656001 dahdi-bri_dchan.patch -c6308ea8aaafba0a9d7f9825d7c9dcf8 dahdi-zaphfc.patch -035a6d91b2fb56a9b76a60a2e494fe9e zaphfc-dahdi-flortz.diff -0fdcd8c8c93bc1fe33c0af12b6cc6b05 zaphfc-dahdi-2.4.0.patch -fc49cf22258d63487a83560385c3f6fa zaphfc-dahdi-2.5.0.patch -6273db53267e1f322d91bf1c8b97ba19 zaphfc-dahdi-2.6.0.patch" -sha256sums="a53018a22091f0f1c61968d9252f11f54d05df6806692a2dc86075009772c2d0 dahdi-linux-2.6.1.tar.gz -dea96284bc80184326fb5167d17bbfb9adbfc6bd00076a7b3fa295b424f30fe9 dahdi-depmod.patch -d1472df8e32f858f363f6fa733f9260f245bcd6d55ab4aa4b0352a446b1ec7f7 dahdi-bri_dchan.patch -3bc70c81cbf4d7bcafd326a00562066905e425cdebc12b5fc8c69be2af4a557d dahdi-zaphfc.patch -94288eb882fc71afd358fc937a16befa02681bcc9a619d088f82d6f53514cc33 zaphfc-dahdi-flortz.diff -5fc36e7d7bf2745e42122f52d1399ae016ee127e863c89e495a7bca07ca255b0 zaphfc-dahdi-2.4.0.patch -562d9abd899009fec456da764f34023627382bce66c209f2a5c531fecdb346fa zaphfc-dahdi-2.5.0.patch -3a8d90cfb745ac5caaa704c1507b3f7b63ee365735ade7e0544739e33469477d zaphfc-dahdi-2.6.0.patch" -sha512sums="b61332acf1d831a9d9791bb48cc17b6577226af75f83ca45fdf07446034c6fadc82edb9693de995093a971af04d3894f9fc97b2c607613016d120528b463dfd0 dahdi-linux-2.6.1.tar.gz -aba01eb90d9db1c595ff22078c76aadb20900486b5794d38b7ee61fa30d2fb51be318a4d059246017640447aee03fb09bb5514c818e3caa1cd98e331ec065173 dahdi-depmod.patch -fa2fa9e96eefc0f31a1a4a8f8f44e77936f6da0d7b74fe3c3d1f0de085621744ae4367932ac97a10b7f96b7d0954843b0bfe07a251b85434079cc6da29e243ba dahdi-bri_dchan.patch -c6eaaf9119656a55820f44eca5d568eef241be185fa2e89779c1beee0004c81d642365e639c99e7c74a4a9ebd88468f5db20586ef8d65da15a6037607fc48e3f dahdi-zaphfc.patch -5bff725e6fbdab9942f0d4b2b7d00680914c82d6f09ff2843c9e9c19ac6bad6583305fc371355570f4efaf1a25d8fea1db4e2947a32fcb91abbaf374977e155e zaphfc-dahdi-flortz.diff -8068fcbba81b819bbd14a1a324457d0febd5350d16c6443be035c50f7759010376bd92d3c7ea69b47309e02603e587387b643f64663652e162853515371a6da5 zaphfc-dahdi-2.4.0.patch -df714bf8c072ccb940f7795a34e8cd319f52b9b357747d51dcffd1f11397085dce44a31d3b401d55b8fdde0d838a9520b0f6b41c64425787b1b032ebc4bcbb6c zaphfc-dahdi-2.5.0.patch -7533c640817f71789c922bb9a5a3b6132b5b47958770929b1c9a50a1e2e6de914e278f466a85ef99759e291e5907c56d60926c74075f4e731a9910a46c1be3ea zaphfc-dahdi-2.6.0.patch" |