Contents of /smage/trunk/extras/libaio/libaio-0.3.112-r1.smage2
Parent Directory | Revision Log
Revision 14036 -
(show annotations)
(download)
Fri Jul 3 07:05:47 2020 UTC (4 years, 2 months ago) by niro
File size: 950 byte(s)
Fri Jul 3 07:05:47 2020 UTC (4 years, 2 months ago) by niro
File size: 950 byte(s)
auto added: ver bump to 0.3.112-r1
1 | # $Id$ |
2 | |
3 | PNAME="libaio" |
4 | PVER="0.3.112" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-libs" |
8 | |
9 | DESCRIPTION="The Linux-native asynchronous I/O facility (aio) library." |
10 | HOMEPAGE="http://lse.sourceforge.net/io/aio.html" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PNAME}_${PVER}.orig.tar.xz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | msetfeature "!check" # mount fails in test |
18 | sminclude mbuild alx-split |
19 | |
20 | SRC_URI=( |
21 | http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2SEPERATOR="_" |
26 | UP2DATE="updatecmd http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/ | grep .orig | sed 's:.orig::g' | highesttarball xz" |
27 | |
28 | src_compile() |
29 | { |
30 | cd ${SRCDIR} |
31 | # libaio is picky about used cflags and does not include stdlib to support stack-protector |
32 | CFLAGS="${CFLAGS//-fstack-protector-strong} -fno-stack-protector" |
33 | mmake || die |
34 | } |
35 | |
36 | alx_generic_src_install() |
37 | { |
38 | cd ${SRCDIR} |
39 | mmake prefix=${BINDIR}/usr libdir=${BINDIR}/usr/$(mlibdir) install || die |
40 | } |