summaryrefslogtreecommitdiff
path: root/target/wag54g/tools/squashfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/wag54g/tools/squashfs/Makefile')
-rw-r--r--target/wag54g/tools/squashfs/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/wag54g/tools/squashfs/Makefile b/target/wag54g/tools/squashfs/Makefile
new file mode 100644
index 000000000..0887afc22
--- /dev/null
+++ b/target/wag54g/tools/squashfs/Makefile
@@ -0,0 +1,27 @@
+# $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:= squashfs
+PKG_VERSION:= 4.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= a3c23391da4ebab0ac4a75021ddabf96
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=squashfs/}
+DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/$(PKG_NAME)${PKG_VERSION}
+
+include ../rules.mk
+
+$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
+ $(MAKE) -C $(WRKBUILD)/squashfs-tools
+ touch $@
+
+$(WRKBUILD)/.installed:
+ $(INSTALL_BIN) $(WRKBUILD)/squashfs-tools/mksquashfs \
+ ${STAGING_TOOLS}/bin
+ touch $@
+
+include $(TOPDIR)/mk/tools.mk