mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
31 lines
834 B
Bash
31 lines
834 B
Bash
#
|
|
# 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
|
|
|
|
pkgname=keyutils
|
|
pkgver=1.4
|
|
pkgrel=2
|
|
pkgdesc="Linux Key Management Utilities"
|
|
arch=(i686 x86_64)
|
|
url="http://www.kernel.org"
|
|
license=('GPL2' 'LGPL2.1')
|
|
depends=('glibc' 'sh')
|
|
backup=(etc/request-key.conf)
|
|
source=(http://people.redhat.com/~dhowells/$pkgname/$pkgname-$pkgver.tar.bz2)
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
sed -i -e '/CFLAGS/s|:= -g -O2|+=|' Makefile
|
|
make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
md5sums=('e168c1bdaf5aa93c2cbf8a5e7f8ef27b') |