summaryrefslogtreecommitdiff
path: root/package/cpio
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-09-16 17:22:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-09-16 17:22:57 +0200
commit81c4c7c2cf2c5ff27a6c02e41bf484a53ea942c2 (patch)
tree71e5ee053da99e7130d2668409b2abe676015546 /package/cpio
parent2fe7aa2130f3e72d2b39ed0929cfc6ae803cecd4 (diff)
make adk compile system work on shuttle
- add some missing packages like cpio, lzma and gnu wget - make microperl more featureful, needed for kernel-header installation - make a dependency to perl - fix header installation for $libc-dev package - fix 64bit uclibc setup, simplify gcc patches and totally unrelated - add preliminary kvm and libvirt support (not tested)
Diffstat (limited to 'package/cpio')
-rw-r--r--package/cpio/Config.in6
-rw-r--r--package/cpio/Makefile27
2 files changed, 33 insertions, 0 deletions
diff --git a/package/cpio/Config.in b/package/cpio/Config.in
new file mode 100644
index 000000000..d4fbbeb79
--- /dev/null
+++ b/package/cpio/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_CPIO
+ prompt "cpio............................... copies files into or out of a cpio archive"
+ tristate
+ default n
+ help
+ http://www.gnu.org/software/cpio/
diff --git a/package/cpio/Makefile b/package/cpio/Makefile
new file mode 100644
index 000000000..cb3e641d1
--- /dev/null
+++ b/package/cpio/Makefile
@@ -0,0 +1,27 @@
+# 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:= cpio
+PKG_VERSION:= 2.10
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 351ab3d38d8949913e478cc23b9d6ad4
+PKG_DESCR:= copies files into or out of a cpio archive
+PKG_SECTION:= net
+PKG_URL:= http://www.gnu.org/software/cpio/
+PKG_SITES:= ${MASTER_SITE_GNU:=cpio/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,CPIO,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_CPIO}/usr/bin
+ ${CP} ${WRKINST}/usr/bin/cpio ${IDIR_CPIO}/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk