diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-04-02 17:46:57 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-04-02 17:53:25 +0200 |
commit | 7f9b2b3d943f3c54432d10c1fea487e0b247d6ca (patch) | |
tree | b137223918b8472aed52ae70f5aeaf7b026bb5ef /rules/libestr.make | |
parent | 3cf39835c7f69aa82f0a0bfca60358fee4ce20f9 (diff) | |
download | ptxdist-7f9b2b3d943f3c54432d10c1fea487e0b247d6ca.tar.gz ptxdist-7f9b2b3d943f3c54432d10c1fea487e0b247d6ca.tar.xz |
libestr: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libestr.make')
-rw-r--r-- | rules/libestr.make | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/rules/libestr.make b/rules/libestr.make new file mode 100644 index 000000000..bf3407912 --- /dev/null +++ b/rules/libestr.make @@ -0,0 +1,60 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 by Michael Olbrich <m.olbrich@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_LIBESTR) += libestr + +# +# Paths and names +# +LIBESTR_VERSION := 0.1.10 +LIBESTR_MD5 := f4c9165a23587e77f7efe65d676d5e8e +LIBESTR := libestr-$(LIBESTR_VERSION) +LIBESTR_SUFFIX := tar.gz +LIBESTR_URL := http://libestr.adiscon.com/files/download/$(LIBESTR).$(LIBESTR_SUFFIX) +LIBESTR_SOURCE := $(SRCDIR)/$(LIBESTR).$(LIBESTR_SUFFIX) +LIBESTR_DIR := $(BUILDDIR)/$(LIBESTR) +LIBESTR_LICENSE := LGPLv2.1+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +LIBESTR_CONF_TOOL := autoconf +LIBESTR_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-testbench \ + --disable-debug + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libestr.targetinstall: + @$(call targetinfo) + + @$(call install_init, libestr) + @$(call install_fixup, libestr,PRIORITY,optional) + @$(call install_fixup, libestr,SECTION,base) + @$(call install_fixup, libestr,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, libestr,DESCRIPTION,missing) + + @$(call install_lib, libestr, 0, 0, 0644, libestr) + + @$(call install_finish, libestr) + + @$(call touch) + +# vim: syntax=make |