libaio: add package
Needed by libdevmapper
This commit is contained in:
parent
da2eba0f3a
commit
c4641a11dc
11
root-packages/libaio/Makefile.patch
Normal file
11
root-packages/libaio/Makefile.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- ../Makefile.orig 2018-12-10 13:16:30.152694737 +0100
|
||||||
|
+++ ./Makefile 2018-12-10 13:17:15.086091432 +0100
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
TAG = $(NAME)-$(VERSION)
|
||||||
|
RPMBUILD=$(shell `which rpmbuild >&/dev/null` && echo "rpmbuild" || echo "rpm")
|
||||||
|
|
||||||
|
-prefix=/usr
|
||||||
|
+prefix ?= /usr
|
||||||
|
includedir=$(prefix)/include
|
||||||
|
libdir=$(prefix)/lib
|
||||||
|
|
6
root-packages/libaio/build.sh
Normal file
6
root-packages/libaio/build.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=http://lse.sourceforge.net/io/aio.html
|
||||||
|
TERMUX_PKG_DESCRIPTION="Linux kernel AIO access library"
|
||||||
|
TERMUX_PKG_VERSION=0.3.111
|
||||||
|
TERMUX_PKG_SHA256=62cf871ad8fd09eb3418f00aca7a7d449299b8e1de31c65f28bf6a2ef1fa502a
|
||||||
|
TERMUX_PKG_SRCURL=http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_${TERMUX_PKG_VERSION}.orig.tar.gz
|
||||||
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
8
root-packages/libaio/src-Makefile.patch
Normal file
8
root-packages/libaio/src-Makefile.patch
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--- ../src-Makefile.orig 2018-12-10 13:17:32.262625152 +0100
|
||||||
|
+++ ./src/Makefile 2018-12-10 13:17:36.358752414 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-prefix=/usr
|
||||||
|
+prefix ?= /usr
|
||||||
|
includedir=$(prefix)/include
|
||||||
|
libdir=$(prefix)/lib
|
||||||
|
|
Loading…
Reference in New Issue
Block a user