Changeset 12579


Ignore:
Timestamp:
2008-09-12T23:01:02+02:00 (8 years ago)
Author:
lars
Message:

Cleanup libdvbpsi Makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libdvbpsi4/Makefile

    • Property copyright set to Copyright (C) 2006-2008 OpenWrt.org
    • Property licence set to GPLv2
    • Property svn:eol-style set to native
    r12228 r12579  
    1 #  
    2 # Copyright (C) 2007 OpenWrt.org 
     1# 
     2# Copyright (C) 2007-2008 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1616PKG_SOURCE_URL:=http://download.videolan.org/pub/libdvbpsi/$(PKG_VERSION)/ 
    1717PKG_MD5SUM:=407cd074b7d6eaf31b20b693ed924655 
     18PKG_FIXUP:=libtool 
    1819 
    1920include $(INCLUDE_DIR)/package.mk 
     21 
     22PKG_INSTALL=1 
    2023 
    2124define Package/libdvbpsi4 
     
    2730 
    2831define Package/libdvbpsi4/description 
    29         libdvbpsi is a simple library designed for MPEG TS and DVB PSI tables  
     32        libdvbpsi is a simple library designed for MPEG TS and DVB PSI tables 
    3033        decoding and generating. 
    3134endef 
     
    3336TARGET_CFLAGS += $(FPIC) 
    3437 
    35 define Build/Compile 
    36         $(call Build/Compile/Default, \ 
    37                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    38                 install \ 
    39         ) 
    40 endef 
    41  
    4238define Build/InstallDev 
    43         mkdir -p $(1)/usr/include 
    44         $(CP) $(PKG_INSTALL_DIR)/usr/include/dvbpsi $(1)/usr/include/ 
    45         mkdir -p $(1)/usr/lib 
    46         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.{a,so*,la} $(1)/usr/lib/ 
     39        $(INSTALL_DIR) $(1)/usr/include/dvbpsi 
     40        $(INSTALL_DATA) \ 
     41                $(PKG_INSTALL_DIR)/usr/include/dvbpsi/*.h \ 
     42                $(1)/usr/include/dvbpsi/ 
     43        $(INSTALL_DIR) $(1)/usr/lib 
     44        $(INSTALL_DATA) \ 
     45                $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.{so*,la} \ 
     46                $(1)/usr/lib/ 
    4747endef 
    4848 
    4949define Package/libdvbpsi4/install 
    5050        $(INSTALL_DIR) $(1)/usr/lib 
    51         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.so* $(1)/usr/lib/ 
     51        $(INSTALL_DATA) \ 
     52                $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.so* \ 
     53                $(1)/usr/lib/ 
    5254endef 
    5355 
Note: See TracChangeset for help on using the changeset viewer.