diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-02-20 21:52:04 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-02-20 21:52:04 -0300 |
commit | 082e477da388c467b78809e5b81b181c9c10fa41 (patch) | |
tree | a761e7bf3f2500e05f4d8d5bda8003cb97181095 /libre/kernel26-libre/PKGBUILD | |
parent | 6a3b00646870c1d58c54ecdeccccb878ce0416ad (diff) | |
download | abslibre-082e477da388c467b78809e5b81b181c9c10fa41.tar.gz abslibre-082e477da388c467b78809e5b81b181c9c10fa41.tar.bz2 abslibre-082e477da388c467b78809e5b81b181c9c10fa41.zip |
kernel26-libre-2.6.37.1-1
Diffstat (limited to 'libre/kernel26-libre/PKGBUILD')
-rw-r--r-- | libre/kernel26-libre/PKGBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/libre/kernel26-libre/PKGBUILD b/libre/kernel26-libre/PKGBUILD index 56046bbc1..af73d75e9 100644 --- a/libre/kernel26-libre/PKGBUILD +++ b/libre/kernel26-libre/PKGBUILD @@ -6,16 +6,15 @@ pkgbase="kernel26-libre" pkgname=('kernel26-libre' 'kernel26-libre-headers' 'kernel26-libre-docs') # Build stock -LIBRE kernel _kernelname=${pkgname#kernel26-libre} _basekernel=2.6.37 -pkgver=${_basekernel} -pkgrel=5 +pkgver=${_basekernel}.1 +pkgrel=1 makedepends=('xmlto' 'docbook-xsl') -#_patchname="patch-${pkgver}-${pkgrel}-LIBRE" -_patchname="patch-${pkgver}-4-LIBRE" +_patchname="patch-${pkgver}-${pkgrel}-LIBRE" arch=(i686 x86_64) license=('GPL2') url="http://linux-libre.fsfla.org/" options=(!strip) -source=(http://linux-libre.fsfla.org/pub/linux-libre/releases/2.6.37-libre/linux-2.6.37-libre.tar.bz2 +source=(http://linux-libre.fsfla.org/pub/linux-libre/releases/${pkgver}-libre/linux-${pkgver}-libre.tar.bz2 http://repo.parabolagnulinux.org/other/kernel26/${_patchname}.bz2 # the main kernel config files config.i686 config.x86_64 @@ -24,7 +23,7 @@ source=(http://linux-libre.fsfla.org/pub/linux-libre/releases/2.6.37-libre/linux kernel26.install) build() { - cd ${srcdir}/linux-$_basekernel + cd ${srcdir}/linux-$pkgver # Add -LIBRE patches # See http://projects.parabolagnulinux.org/linux-libre-2.6-LIBRE.git/ patch -Np1 -i ${srcdir}/${_patchname} || return 1 @@ -82,7 +81,7 @@ package_kernel26-libre() { optdepends=('crda: to set the correct wireless channels of your country') KARCH=x86 - cd ${srcdir}/linux-$_basekernel + cd ${srcdir}/linux-$pkgver # get kernel version _kernver="$(make kernelrelease)" mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot} @@ -126,7 +125,7 @@ package_kernel26-libre-headers() { mkdir -p ${pkgdir}/lib/modules/${_kernver} cd ${pkgdir}/lib/modules/${_kernver} ln -sf ../../../usr/src/linux-${_kernver} build - cd ${srcdir}/linux-$_basekernel + cd ${srcdir}/linux-$pkgver install -D -m644 Makefile \ ${pkgdir}/usr/src/linux-${_kernver}/Makefile install -D -m644 kernel/Makefile \ @@ -240,7 +239,7 @@ provides=("kernel26-docs=$pkgver") replaces=('kernel26-docs') conflicts=('kernel26-docs') -cd ${srcdir}/linux-$_basekernel +cd ${srcdir}/linux-$pkgver mkdir -p $pkgdir/usr/src/linux-$_kernver mv Documentation $pkgdir/usr/src/linux-$_kernver find $pkgdir -type f -exec chmod 444 {} \; @@ -248,9 +247,9 @@ find $pkgdir -type d -exec chmod 755 {} \; # remove a file already in kernel26 package rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile } -md5sums=('3e80c55a0927b4439f3aad4f973f05cc' - 'b9eecbe905cc8db8dc1b408ae5e471da' - 'fcd0dd7a2148aec4d8b07dd01e99c0e1' - '52b1fd9c166c74fa3273b7d9a204fefb' +md5sums=('e88329f0b1a8c8527b5cab36530b2d57' + 'e5b28b5bed7ef1a898d528cf0d75220d' + '5266c8554fe93d3dbfb1699f0d86f129' + 'bdc02636e0acc27b942898a4fc66163f' '25584700a0a679542929c4bed31433b6' '1bff12f1ba69206b1abee2bba4b7619c') |