Magellan Linux

Contents of /trunk/extras/libaio/libaio-0.3.111-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31264 - (show annotations) (download)
Tue Jun 19 06:23:48 2018 UTC (5 years, 10 months ago) by niro
File size: 807 byte(s)
auto added: ver bump to 0.3.111-r1
1 # $Id$
2
3 PNAME="libaio"
4 PVER="0.3.111"
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.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 EMUL_LINUX_32=true
18 msetfeature "!check" # mount fails in test
19 sminclude mbuild multilib
20
21 SRC_URI=(
22 http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2SEPERATOR="_"
27 UP2DATE="updatecmd http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/ | sed 's:.orig::g' | highesttarball gz"
28
29 src_compile()
30 {
31 # libaio is picky about used cflags
32 CFLAGS="${CFLAGS//-fstack-protector-strong}"
33 mmake || die
34 }
35
36 src_install()
37 {
38 mmake prefix=${BINDIR}/usr install || die
39 }