diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-07-16 05:39:49 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-07-16 05:39:49 +0000 |
commit | 74a795bdb91b6b04297a588f5a4c5c9cfaf8f68a (patch) | |
tree | 948281c4a685c5dee5dfed913f7f8a01d219319d | |
parent | d23c87e9b258c7ab7e870f49c48a8bf80ba5f054 (diff) |
zlib patches from below0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@98 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | obsolete-buildroot/make/zlib.mk | 14 | ||||
-rw-r--r-- | obsolete-buildroot/sources/zlib.control | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/obsolete-buildroot/make/zlib.mk b/obsolete-buildroot/make/zlib.mk index 90c6915aa..5500fec87 100644 --- a/obsolete-buildroot/make/zlib.mk +++ b/obsolete-buildroot/make/zlib.mk @@ -11,6 +11,9 @@ ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true) ZLIB_CFLAGS+= -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif +ZLIB_IPK_DIR=$(BUILD_DIR)/zlib-1.1.4-ipk +ZLIB_IPK=$(BUILD_DIR)/zlib_1.1.4-1_mipsel.ipk + $(DL_DIR)/$(ZLIB_SOURCE): $(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE) @@ -61,6 +64,17 @@ zlib-headers: $(TARGET_DIR)/usr/lib/libz.a zlib: uclibc $(TARGET_DIR)/lib/libz.so.1.1.4 +$(ZLIB_IPK): uclibc $(STAGING_DIR)/lib/libz.so.1.1.4 + mkdir -p $(ZLIB_IPK_DIR)/CONTROL + cp $(SOURCE_DIR)/zlib.control $(ZLIB_IPK_DIR)/CONTROL/control + mkdir -p $(ZLIB_IPK_DIR)/lib + cp -dpf $(STAGING_DIR)/lib/libz.so* $(ZLIB_IPK_DIR)/lib; + -$(STRIP) --strip-unneeded $(ZLIB_IPK_DIR)/lib/libz.so* + touch -c $(ZLIB_IPK_DIR)/lib/libz.so.1.1.4 + cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(ZLIB_IPK_DIR) + +zlib-ipk: $(ZLIB_IPK) + zlib-source: $(DL_DIR)/$(ZLIB_SOURCE) zlib-clean: diff --git a/obsolete-buildroot/sources/zlib.control b/obsolete-buildroot/sources/zlib.control new file mode 100644 index 000000000..608176d81 --- /dev/null +++ b/obsolete-buildroot/sources/zlib.control @@ -0,0 +1,10 @@ +Package: zlib +Priority: optional +Version: 1.1.4-1 +Architecture: mipsel +Maintainer: below0 +Section: libs +Source: Embedded in the main OpenWrt buildroot +Description: zlib is a library implementing the 'deflate' compression system used by many programs. + + |