2 # Copyright (C) 2006-2012 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
/lzo
/download
/
16 PKG_MD5SUM
:=95380bd4081f85ef08c5209f4107e9f8
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=A real-time data compression library
27 URL
:=http
://www.oberhumer.com
/opensource
/lzo
/
30 define Package
/liblzo
/description
31 LZO is a data compression library which is suitable for data de-
/compression
32 in real-time. This means it favours speed over compression ratio.
35 define Build
/Configure
36 $(call Build
/Configure
/Default
, \
42 TARGET_CFLAGS
+= $(FPIC
)
43 MAKE_FLAGS
+= CFLAGS_O
="$(TARGET_CFLAGS)"
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/include $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/lzo
$(1)/usr
/include/
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblzo2.
{a
,so
*} $(1)/usr
/lib
/
51 define Package
/liblzo
/install
52 $(INSTALL_DIR
) $(1)/usr
/lib
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/liblzo2.so
* $(1)/usr
/lib
/
56 $(eval
$(call BuildPackage
,liblzo
))