diff options
author | Cecil <knoppmyth@gmail.com> | 2012-01-14 20:46:12 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-01-14 20:46:12 (GMT) |
commit | c321283760591e3c6e5d9ed415e9c422fee83d9e (patch) | |
tree | 4e482fdf514f477c7ac23e0da81ec82a51a53b39 /abs/core/v4l-dvb/PKGBUILD | |
parent | e9948fef7a06dbb6b0c53e50df10c0a0dc2d941b (diff) | |
parent | d5525acd5a4054460b98930b46d9de5690c1fd36 (diff) | |
download | linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.zip linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.tar.gz linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/v4l-dvb/PKGBUILD')
-rw-r--r-- | abs/core/v4l-dvb/PKGBUILD | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/abs/core/v4l-dvb/PKGBUILD b/abs/core/v4l-dvb/PKGBUILD index 58e9013..b853b24 100644 --- a/abs/core/v4l-dvb/PKGBUILD +++ b/abs/core/v4l-dvb/PKGBUILD @@ -1,26 +1,27 @@ -# Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com) +# Maintainer: Cecil Watson<knoppmyth@gmail.com> pkgname=v4l-dvb -pkgver=20111110 +_kernver=`uname -r` +pkgver=20120113 pkgrel=1 -pkgdesc="V4L-DVB device drivers git version" +pkgdesc="V4L-DVB device drivers (newer than those included in kernel)" arch=('i686' 'x86_64') url="http://linuxtv.org/" -license=('GPL') +license=('GPL2') depends=('kernel26') -makedepends=('git' 'linux-api-headers' 'perl-proc-processtable' 'patchutils') +makedepends=('git' 'kernel26-headers' 'perl-proc-processtable' 'patchutils') options=(!makeflags) install=v4l-dvb.install _gitroot="git://linuxtv.org/media_build.git" _gitname="media_build" -source=(config) + build() { cd "${srcdir}" msg "Connecting to GIT server...." if [ -d "${srcdir}/${_gitname}" ] ; then - cd ${_gitname} && git pull --rebase + cd ${_gitname} && git checkout -- . && git pull --rebase else git clone ${_gitroot} fi @@ -31,20 +32,18 @@ build() { cd "${srcdir}/${_gitname}/linux" make download untar cd .. - # Build with 3.0-ARCH kernel - _kernver=`uname -r` - sed -i -e "s/KERNELRELEASE\ :=/KERNELRELEASE\ :=\ ${_kernver}/" \ - -e "s/\$(KERNELRELEASE)/${_kernver}/" \ - "${srcdir}/${_gitname}"/v4l/Makefile{,.sound} - # Use alternate config, because cx23885 module won't build -# cp "${srcdir}/config" "${srcdir}/${_gitname}/v4l/.config" + +# Build with 3.0-ARCH kernel +# sed -i -e "s/KERNELRELEASE\ :=/KERNELRELEASE\ :=\ ${_kernver}/" \ +# -e "s/\$(KERNELRELEASE)/${_kernver}/" \ +# "${srcdir}/${_gitname}"/v4l/Makefile{,.sound} + make } package() { - install -dm755 "${srcdir}/lib/modules/$(uname -r)/updates" cd "${srcdir}/${_gitname}" - make DESTDIR="${pkgdir}/lib/modules/$(uname -r)/updates" install + make DESTDIR="${pkgdir}" install + rm -fr ${pkgdir}/lib/modules/$_kernver/modules* } - -md5sums=('927cc1fcddc2a71a7fde97322237c7a8') +md5sums=() |