scancpan: fix detection of native module
[buildroot-gz.git] / package / on2-8170-libs / on2-8170-libs.mk
blobdb68f021fabed6623576abad41fff804bcb9ca6d
1 ################################################################################
3 # on2-8170-libs
5 ################################################################################
7 ON2_8170_LIBS_VERSION = 1.0
8 ON2_8170_LIBS_SITE = ftp://ftp.linux4sam.org/pub/demo/linux4sam_1.9/codec
10 ON2_8170_LICENSE = PROPRIETARY
11 # No license file is included in the archive
13 ON2_8170_LIBS_INSTALL_STAGING = YES
15 define ON2_8170_LIBS_INSTALL_STAGING_CMDS
16 mkdir -p $(STAGING_DIR)/usr/lib $(STAGING_DIR)/usr/include
17 cp -dpf $(@D)/*.a $(@D)/*.so $(STAGING_DIR)/usr/lib
18 cp -dpf $(@D)/*.h $(STAGING_DIR)/usr/include
19 endef
21 define ON2_8170_LIBS_INSTALL_TARGET_CMDS
22 mkdir -p $(TARGET_DIR)/usr/lib
23 cp -dpf $(@D)/*.so $(TARGET_DIR)/usr/lib
24 endef
26 $(eval $(generic-package))