2 # Maintainer: ying <Jinoto Systems>
3 # Contributor: ying <Jinoto Systems>
8 pkgdesc="The audit-libs package contains the dynamic libraries needed for applications to use the audit framework. Needed by readahead-fedora."
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")
17 cd ${srcdir}/audit-$pkgver
19 patch -Np1 -i ${srcdir}/audit_$pkgver-$pkgrel.diff
20 patch -Np1 -i ${srcdir}/../"ying's_patch_libaudit.patch"
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
34 md5sums=('967776cbec046043ef02ffefe0e89cb7'
35 '89cc809cb8a24167ac87354712ad2d6c'
36 'aeb1d650e9b67745ded34ee9cc733b4d')