summaryrefslogtreecommitdiff
path: root/package/bzip2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/bzip2/Makefile')
-rw-r--r--package/bzip2/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/bzip2/Makefile b/package/bzip2/Makefile
new file mode 100644
index 000000000..e5c690ea7
--- /dev/null
+++ b/package/bzip2/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:= bzip2
+PKG_VERSION:= 1.0.5
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 3c15a0c8d1d3ee1c46a1634d00617b1a
+PKG_DESCR:= bzip2 compression utility
+PKG_SECTION:= utils
+PKG_URL:= http://www.bzip.org
+PKG_SITES:= http://www.bzip.org/1.0.5/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,BZIP2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+XAKE_FLAGS+= PREFIX=${WRKINST}/usr
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_BZIP2}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/bzip2 ${IDIR_BZIP2}/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk