updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / libaudit / PKGBUILD
bloba56701af4e0d1b10b153c7b99e5bcc3b9385587e
1 # ureadahead
2 # Maintainer: ying <Jinoto Systems>
3 # Contributor: ying <Jinoto Systems>
5 pkgname=libaudit
6 pkgver=1.7.13
7 pkgrel=1
8 pkgdesc="The audit-libs package contains the dynamic libraries needed for applications to use the audit framework. Needed by readahead-fedora."
9 arch=('i686' 'x86_64')
10 url="http://packages.debian.org/en/sid/libaudit0"
11 install=libaudit.install
12 depends=('gcc-libs' 'swig')
13 source=(http://ftp.de.debian.org/debian/pool/main/a/audit/audit_$pkgver.orig.tar.gz http://ftp.de.debian.org/debian/pool/main/a/audit/audit_$pkgver-$pkgrel.diff.gz "ying's_patch_libaudit.patch")
14 license=('GPL2')
16 build() {
17   cd ${srcdir}/audit-$pkgver
18   
19   patch -Np1 -i ${srcdir}/audit_$pkgver-$pkgrel.diff
20   patch -Np1 -i ${srcdir}/../"ying's_patch_libaudit.patch"
22   ./configure
23   make || return 1
24   make DESTDIR=${pkgdir} install || return 1
25   mv ${pkgdir}/usr/local/* ${pkgdir}/
26   rm -rf ${pkgdir}/usr/local
27   mv ${pkgdir}/include ${pkgdir}/usr/include
28   rm -rf ${pkgdir}/libexec
29   rm -rf ${pkgdir}/share
30   rm -rf ${pkgdir}/etc
34 md5sums=('967776cbec046043ef02ffefe0e89cb7'
35          '89cc809cb8a24167ac87354712ad2d6c'
36          'aeb1d650e9b67745ded34ee9cc733b4d')