# $Id$ PNAME="libaio" PVER="0.3.112" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="The Linux-native asynchronous I/O facility (aio) library." HOMEPAGE="http://lse.sourceforge.net/io/aio.html" DEPEND=">= virtual/glibc" SRCFILE="${PNAME}_${PVER}.orig.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" msetfeature "!check" # mount fails in test sminclude mbuild alx-split SRC_URI=( http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2SEPERATOR="_" UP2DATE="updatecmd http://ftp.de.debian.org/debian/pool/main/liba/${PNAME}/ | grep .orig | sed 's:.orig::g' | highesttarball xz" src_compile() { cd ${SRCDIR} # libaio is picky about used cflags and does not include stdlib to support stack-protector CFLAGS="${CFLAGS//-fstack-protector-strong} -fno-stack-protector" mmake || die } alx_generic_src_install() { cd ${SRCDIR} mmake prefix=${BINDIR}/usr libdir=${BINDIR}/usr/$(mlibdir) install || die }