summaryrefslogtreecommitdiff
path: root/package/cpio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/cpio/Makefile')
-rw-r--r--package/cpio/Makefile27
1 files changed, 27 insertions, 0 deletions
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