summaryrefslogtreecommitdiffstats
path: root/rules/libaio.make
blob: 8f108f2993ceb9a67af682aab5483f8d0a166084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*-makefile-*-
#
# Copyright (C) 2016 by Juergen Borleis <jbe@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBAIO) += libaio

#
# Paths and names
#
LIBAIO_VERSION	:= 0.3.110
LIBAIO_MD5	:= 2a35602e43778383e2f4907a4ca39ab8
LIBAIO		:= libaio-$(LIBAIO_VERSION)
LIBAIO_SUFFIX	:= tar.gz
LIBAIO_URL	:= http://pkgs.fedoraproject.org/repo/pkgs/libaio/libaio-0.3.110.tar.gz/2a35602e43778383e2f4907a4ca39ab8/$(LIBAIO).$(LIBAIO_SUFFIX)
LIBAIO_SOURCE	:= $(SRCDIR)/$(LIBAIO).$(LIBAIO_SUFFIX)
LIBAIO_DIR	:= $(BUILDDIR)/$(LIBAIO)
LIBAIO_LICENSE	:= LGPL-2.1-only

# ----------------------------------------------------------------------------
# Prepare + Compile
# ----------------------------------------------------------------------------

#
# just a Makefile made by a creative Linux kernel hacker...
#
LIBAIO_CONF_TOOL	:= NO
LIBAIO_MAKE_ENV		:= $(CROSS_ENV)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/libaio.targetinstall:
	@$(call targetinfo)

	@$(call install_init, libaio)
	@$(call install_fixup, libaio,PRIORITY,optional)
	@$(call install_fixup, libaio,SECTION,base)
	@$(call install_fixup, libaio,AUTHOR,"Juergen Borleis <jbe@pengutronix.de>")
	@$(call install_fixup, libaio,DESCRIPTION,"asynchronous I/O access library")

	@$(call install_lib, libaio, 0, 0, 0644, libaio)

	@$(call install_finish, libaio)

	@$(call touch)

# vim: syntax=make