Changeset 20301


Ignore:
Timestamp:
2010-03-19T17:23:44+01:00 (8 years ago)
Author:
florian
Message:

[package] fix lzo parallel build, patch from Raphael Huck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/lzo/Makefile

    r19714 r20301  
    1010PKG_NAME:=lzo 
    1111PKG_VERSION:=2.03 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    1717 
    1818PKG_FIXUP:=libtool 
     19PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
     
    2829 
    2930define Package/liblzo/description 
    30         LZO is a data compression library which is suitable for data 
    31         de-/compression in real-time. 
    32         This means it favours speed over compression ratio. 
     31LZO is a data compression library which is suitable for data de-/compression in 
     32real-time. This means it favours speed over compression ratio. 
    3333endef 
    3434 
     
    4242TARGET_CFLAGS += $(FPIC) 
    4343 
    44 define Build/Compile 
    45         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    46                 CFLAGS_O="$(TARGET_CFLAGS)" \ 
    47                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    48                 all install 
    49 endef 
     44MAKE_FLAGS += CFLAGS_O="$(TARGET_CFLAGS)" 
    5045 
    5146define Build/InstallDev 
    5247        $(INSTALL_DIR) $(1)/usr/include 
    5348        $(CP) $(PKG_INSTALL_DIR)/usr/include/lzo $(1)/usr/include/ 
     49 
    5450        $(INSTALL_DIR) $(1)/usr/lib 
    5551        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.{a,so*} $(1)/usr/lib/ 
     
    5854define Package/liblzo/install 
    5955        $(INSTALL_DIR) $(1)/usr/lib 
    60         $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.so.* $(1)/usr/lib/ 
     56        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.so* $(1)/usr/lib/ 
    6157endef 
    6258 
Note: See TracChangeset for help on using the changeset viewer.