Commit | Line | Data |
---|---|---|
ac26dadb VM |
1 | # Description: Tools to control the Linx key management system |
2 | # URL: http://www.kernel.org/ | |
3 | # Maintainer: Juergen Daubert, jue at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu | |
5 | ||
6 | name=keyutils | |
22ac5228 | 7 | version=1.5.6 |
ac26dadb VM |
8 | release=1 |
9 | source=(http://people.redhat.com/~dhowells/$name/$name-$version.tar.bz2) | |
10 | ||
11 | build () { | |
12 | cd $name-$version | |
a0477cc2 JB |
13 | |
14 | # remove -m32 flag | |
15 | sed -i 's|CFLAGS.*-m32$||' Makefile | |
16 | ||
ac26dadb | 17 | sed -i "/^MAN[1-9]/s|share/||;/^CFLAGS/s/-g/$CFLAGS/;s|/lib64|/lib|" Makefile |
a0477cc2 | 18 | |
ac26dadb VM |
19 | make -j1 |
20 | make DESTDIR=$PKG install | |
21 | } |