From 288a5a29325dfc72c1ab795b744e32c498738a7b Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 15 Oct 2013 04:24:55 -0200 Subject: linux-libre-lts-3.10.16-1: updating version * increase NR_CPU to 32 for i686 and 128 for x86_64 * fix NR_CPU on i686 * disable MTD_NAND and CHIPIDEA * set SCSI_SCAN_ASYNC=y * add linux-libre-lts-docs package --- libre/linux-libre-lts/PKGBUILD | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'libre/linux-libre-lts/PKGBUILD') diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 29e2366e1..7055936c0 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 195951 2013-10-06 10:39:36Z bpiotrowski $ +# $Id: PKGBUILD 196512 2013-10-14 16:06:39Z andyrtr $ # Maintainer: Tobias Powalowski # Maintainer: Thomas Baechler # Maintainer (Parabola): André Silva @@ -10,7 +10,7 @@ pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel #pkgbase=linux-libre-custom # Build kernel with a different name _basekernel=3.10 -_sublevel=15 +_sublevel=16 pkgver=${_basekernel}.${_sublevel} pkgrel=1 _lxopkgver=${_basekernel}.15 # nearly always the same as pkgver @@ -33,9 +33,9 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn '3.10.6-logitech-dj.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2") md5sums=('d562fd52580a3b6b18b6eeb5921d1d5c' - '9d85508aaa75442ec6e480a248102c5a' - '678afb6322e0b0caad6b08bdb2b23dc8' - '13e5a0aa3faf60f791403d0b367dca86' + '652908bcd4527803abd98f762d45501f' + '59a0759df09a59d48d0c470895c50cbb' + 'ad7f5988deb617e3789f95d7e675860d' 'c072b17032e80debc6a8626299245d46' '2967cecc3af9f954ccc822fd63dca6ff' '8267264d9a8966e57fdacd1fa1fc65c4' @@ -163,9 +163,9 @@ _package() { backup=("etc/mkinitcpio.d/${pkgbase}.preset") install=${pkgbase}.install if [ "$CARCH" != "mips64el" ]; then - provides+=('linux-libre-lts-kmod-alx') - conflicts+=('linux-libre-lts-kmod-alx') - replaces+=('linux-libre-lts-kmod-alx') + provides+=("linux-libre${_kernelname}-kmod-alx") + conflicts+=("linux-libre${_kernelname}-kmod-alx") + replaces+=("linux-libre${_kernelname}-kmod-alx") fi if [ "$CARCH" = "mips64el" ]; then optdepends+=('mkinitcpio: to make the initramfs (needs reinstall of this package)') @@ -399,7 +399,24 @@ _package-headers() { fi } -pkgname=("${pkgbase}" "${pkgbase}-headers") +_package-docs() { + pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase^} kernel" + provides=("kernel26${_kernelname}-docs=${pkgver}" "linux${_kernelname}-docs=${pkgver}") + conflicts=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") + replaces=("kernel26${_kernelname}-docs" "kernel26-libre${_kernelname}-docs" "linux${_kernelname}-docs") + + cd "${srcdir}/linux-${_basekernel}" + + mkdir -p "${pkgdir}/usr/src/linux-${_kernver}" + cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}" + find "${pkgdir}" -type f -exec chmod 444 {} \; + find "${pkgdir}" -type d -exec chmod 755 {} \; + + # remove a file already in linux package + rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" +} + +pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs") for _p in ${pkgname[@]}; do eval "package_${_p}() { _package${_p#${pkgbase}} -- cgit v1.2.3