libnetfilter_cthelper: add patch for uclinux tuple
[buildroot-gz.git] / package / squashfs3 / squashfs3.mk
blob4df1af6085e988e5d4dad1cfded26c41153f0b34
1 ################################################################################
3 # squashfs3
5 ################################################################################
7 SQUASHFS3_VERSION = 3.4
8 SQUASHFS3_SOURCE = squashfs$(SQUASHFS3_VERSION).tar.gz
9 SQUASHFS3_SITE = http://downloads.sourceforge.net/project/squashfs/squashfs/$(SQUASHFS3_VERSION)
11 SQUASHFS3_DEPENDENCIES = zlib
13 define SQUASHFS3_BUILD_CMDS
14 $(TARGET_MAKE_ENV) $(MAKE) \
15 CC="$(TARGET_CC)" \
16 CFLAGS="$(TARGET_CFLAGS)" \
17 LDFLAGS="$(TARGET_LDFLAGS)" \
18 -C $(@D)/squashfs-tools/
19 endef
21 define SQUASHFS3_INSTALL_TARGET_CMDS
22 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(TARGET_DIR)/usr/bin install
23 endef
25 define HOST_SQUASHFS3_BUILD_CMDS
26 $(HOST_MAKE_ENV) $(MAKE) CFLAGS="$(HOST_CFLAGS)" LDFLAGS="$(HOST_LDFLAGS)" -C $(@D)/squashfs-tools/
27 endef
29 define HOST_SQUASHFS3_INSTALL_CMDS
30 $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/usr/bin install
31 endef
33 $(eval $(generic-package))
34 $(eval $(host-generic-package))