123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- set -e
- program=libaio
- version=0.3.112
- release=3
- pkgcategory=libs
- tarname=${program}_${version}.orig.tar.xz
- fetch=https://ftp.debian.org/debian/pool/main/liba/libaio/$tarname
- description="
- Kernel Asynchronous I/O (AIO) support for GNU/Linux.
- AIO enables even a single application thread to overlap I/O operations
- with other processing, by providing an interface for submitting one or
- more I/O requests in one system call (io_submit()) without waiting for
- completion, and a separate interface (io_getevents()) to reap
- completed I/O operations associated with a given completion group.
- "
- homepage=https://lse.sourceforge.net/io/aio.html
- license=LGPLv2+
- docs="COPYING ChangeLog TODO"
- docsdir="${docdir}/${program}-${version}"
- build()
- {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- chmod -R u+w,go-w,a+rX-s .
-
- while read -r line
- do
- case $line in
- *.patch)
- patch -Np1 -i "${worktree}/patches/libaio/${line}"
- ;;
- esac
- done < "${worktree}/patches/libaio/series"
- make CPPFLAGS="$QICPPFLAGS" CFLAGS="$QICFLAGS -fno-stack-protector" LDFLAGS="$QILDFLAGS" \
- prefix="${destdir}/usr" \
- libdir="${destdir}/usr/lib${libSuffix}" \
- install
-
- mkdir -p "${destdir}${docsdir}"
- cp -p $docs "${destdir}${docsdir}"/
- }
|