summaryrefslogtreecommitdiff
path: root/package/libelf
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libelf
Initial import
Diffstat (limited to 'package/libelf')
-rw-r--r--package/libelf/Config.in10
-rw-r--r--package/libelf/Makefile34
-rw-r--r--package/libelf/ipkg/libelf.control4
3 files changed, 48 insertions, 0 deletions
diff --git a/package/libelf/Config.in b/package/libelf/Config.in
new file mode 100644
index 000000000..3f2fa6024
--- /dev/null
+++ b/package/libelf/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_LIBELF
+ prompt "libelf............................ ELF object file access library"
+ tristate
+ default n
+ help
+ This is the public release of libelf-0.8.5, a free ELF object
+ file access library.
+
+ http://www.stud.uni-hannover.de/~michael/software/
+
diff --git a/package/libelf/Makefile b/package/libelf/Makefile
new file mode 100644
index 000000000..920747eea
--- /dev/null
+++ b/package/libelf/Makefile
@@ -0,0 +1,34 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= libelf
+PKG_VERSION:= 0.8.9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 11904a77b948bcfab671e80100b6098d
+MASTER_SITES:= http://www.mr511.de/software/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBELF,libelf,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ENV+= mr_cv_target_elf=yes \
+ libelf_64bit=yes \
+ libelf_cv_struct_elf64_ehdr=yes \
+ libelf_cv_type_elf64_addr=no \
+ libelf_cv_struct_elf64_rel=yes \
+ ac_cv_sizeof_long_long=8
+CONFIGURE_ARGS+= --enable-elf64=yes
+BUILD_STYLE= auto
+INSTALL_STYLE= confprog auto
+FAKE_FLAGS+= instroot="${WRKINST}"
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBELF}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libelf.so.* ${IDIR_LIBELF}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libelf/ipkg/libelf.control b/package/libelf/ipkg/libelf.control
new file mode 100644
index 000000000..804b02fd7
--- /dev/null
+++ b/package/libelf/ipkg/libelf.control
@@ -0,0 +1,4 @@
+Package: libelf
+Priority: optional
+Section: libs
+Description: a library for accessing ELF objects