2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.oberhumer.com
/opensource
/ucl
/download
/
16 PKG_MD5SUM
:=852bd691d8abc75b52053465846fba34
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=Portable lossless data compression library
27 URL
:=http
://www.oberhumer.com
/opensource
/ucl
/
30 define Package
/libucl
/description
31 UCL is a portable lossless data compression library written in ANSI C. UCL
32 implements a number of compression algorithms that achieve an excellent
33 compression ratio while allowing
*very
* fast decompression. Decompression
34 requires no additional memory.
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(1)/usr
/include/ucl
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/ucl
/ucl
{,conf
}.h
$(1)/usr
/include/ucl
/
46 $(INSTALL_DIR
) $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libucl.
{a
,so
*} $(1)/usr
/lib
/
50 define Package
/libucl
/install
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libucl.so.
* $(1)/usr
/lib
/
55 $(eval
$(call BuildPackage
,libucl
))