diff options
Diffstat (limited to 'abs/core/v4l-dvb/PKGBUILD')
-rw-r--r-- | abs/core/v4l-dvb/PKGBUILD | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/abs/core/v4l-dvb/PKGBUILD b/abs/core/v4l-dvb/PKGBUILD deleted file mode 100644 index f19c2fa..0000000 --- a/abs/core/v4l-dvb/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Maintainer: Cecil Watson<knoppmyth@gmail.com> - -pkgname=v4l-dvb -_kernver=`uname -r` -pkgver=20120904 -pkgrel=1 -pkgdesc="V4L-DVB device drivers (newer than those included in kernel26)" -arch=('i686' 'x86_64') -url="http://linuxtv.org/" -license=('GPL2') -depends=('kernel26') -makedepends=('git' 'kernel26-headers' 'perl-proc-processtable' 'patchutils') -options=(!makeflags) -install=v4l-dvb.install -_gitroot="git://linuxtv.org/media_build.git" -_gitname="media_build" - -build() { - cd "${srcdir}" - msg "Connecting to GIT server...." - - if [ -d "${srcdir}/${_gitname}" ] ; then - cd ${_gitname} && git pull --rebase - else - git clone ${_gitroot} - fi - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - cd "${srcdir}/${_gitname}/linux" - make download untar - cd .. - -# Build with 3.0-ARCH kernel -# sed -i -e "s/KERNELRELEASE\ :=/KERNELRELEASE\ :=\ ${_kernver}/" \ -# -e "s/\$(KERNELRELEASE)/${_kernver}/" \ -# "${srcdir}/${_gitname}"/v4l/Makefile{,.sound} - - make -} - -package() { - cd "${srcdir}/${_gitname}" - make DESTDIR="${pkgdir}/lib/modules/$_kernver/updates" install - # compress new kernel modules - find ${pkgdir}/lib/modules/$_kernver/updates/ -not -name 'media.ko' -name '*.ko' -exec gzip '{}' \; -} -md5sums=() |