mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
corrections coming with i686 sync, aufs3-utils, acpi_call, plus libgcrypt & libgpg-error needing builds
This commit is contained in:
parent
204bc636cf
commit
d6203626b9
@ -7,7 +7,7 @@ _extramodules=extramodules-3.4-CHAKRA
|
||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
||||
|
||||
pkgname=acpi_call
|
||||
pkgver=20120613
|
||||
pkgver=20120115
|
||||
pkgrel=1
|
||||
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
|
||||
arch=('i686' 'x86_64')
|
||||
@ -17,7 +17,7 @@ depends=('linux>=3.4' 'linux<3.5' 'linux-headers')
|
||||
makedepends=('git')
|
||||
install=acpi_call.install
|
||||
source=(http://chakra-linux.org/sources/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
md5sums=('fcee74cba78ff644b43d60e046864b9e')
|
||||
md5sums=('129841dd806887492609214462792413')
|
||||
|
||||
|
||||
# create tarball: source PKGBUILD && mksource
|
||||
|
@ -19,7 +19,7 @@ md5sums=('a1012045b45ec13ccc1be231d5e76464')
|
||||
build() {
|
||||
cd $srcdir/aufs3-util-$pkgver
|
||||
|
||||
export CPPFLAGS="-I /usr/src/linux-3.4.1-1-CHAKRA/include/"
|
||||
export CPPFLAGS="-I /usr/src/linux-3.4.2-1-CHAKRA/include/"
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -1,15 +1,11 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=libgcrypt
|
||||
pkgver=1.5.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="a general purpose crypto library based on the code used"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnupg.org"
|
||||
@ -21,17 +17,13 @@ sha1sums=('3e776d44375dc1a710560b98ae8437d5da6e32cf')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
# keep static library for , needed for cryptsetup
|
||||
./configure --prefix=/usr --disable-padlock-support
|
||||
|
||||
./configure --prefix=/usr --disable-padlock-support --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# Move dynamic libraries to /lib
|
||||
install -d -m755 "${pkgdir}"/lib/ || return 1
|
||||
mv "${pkgdir}"/usr/lib/libgcrypt.so* "${pkgdir}"/lib/ || return 1
|
||||
ln -sf /lib/libgcrypt.so "${pkgdir}/usr/lib/libgcrypt.so" || return 1
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
@ -1,15 +1,11 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=libgpg-error
|
||||
pkgver=1.10
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Support library for libgcrypt"
|
||||
arch=(i686 x86_64)
|
||||
url="http://www.gnupg.org"
|
||||
@ -21,19 +17,15 @@ sha1sums=('95b324359627fbcb762487ab6091afbe59823b29')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
# keep static lib for crypsetup
|
||||
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install || return 1
|
||||
|
||||
# Move dynamic libraries to /lib
|
||||
install -d -m755 "${pkgdir}"/lib/ || return 1
|
||||
mv "${pkgdir}"/usr/lib/libgpg-error.so* "${pkgdir}"/lib/ || return 1
|
||||
ln -sf /lib/libgpg-error.so "${pkgdir}/usr/lib/libgpg-error.so" || return 1
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
Loading…
Reference in New Issue
Block a user