Changeset 33082


Ignore:
Timestamp:
2012-08-10T17:49:20+02:00 (5 years ago)
Author:
florian
Message:

[package] radlib: bump version to 2.12.0, add sqlite

This is the latest official version. Currently tested only with wview as there
are no other packages in the repository depending on radlib.

Signed-off-by: Paul Fertser <fercerpav@…>

Location:
packages/libs/radlib
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/radlib/Makefile

    r32206 r33082  
    99 
    1010PKG_NAME:=radlib 
    11 PKG_VERSION:=2.8.5 
    12 PKG_RELEASE:=2 
     11PKG_VERSION:=2.12.0 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=@SF/radlib 
    16 PKG_MD5SUM:=82ab0c702e55a860b69ad76e2aac748f 
    17  
    18 ifeq ($(CONFIG_EXTERNAL_KERNEL_TREE),) 
    19 PATCH_DIR:= 
    20 else 
    21 PATCH_DIR:=./patches 
    22 endif 
     16PKG_SHA1SUM:=1b3feace6d0361436c9e4ce9b06856195a5ac1b1 
    2317 
    2418PKG_FIXUP:=autoreconf 
     
    2923  SECTION:=libs 
    3024  CATEGORY:=Libraries 
     25  DEPENDS:=+libpthread 
    3126  TITLE:=Rapid Application Development Library 
    3227  URL:=http://www.radlib.teel.ws/ 
     
    3732endef 
    3833 
     34define Package/radlib-sqlite 
     35  $(call Package/radlib) 
     36  VARIANT:=sqlite 
     37  DEPENDS+=+libsqlite3 
     38  TITLE+= (sqlite) 
     39endef 
     40 
     41define Package/radlib-sqlite/description 
     42  $(call Package/radlib/description) 
     43  This package comes with sqlite support 
     44endef 
     45 
    3946CONFIGURE_ARGS += \ 
    4047                  --prefix="$(TOOLCHAIN_DIR)/usr" 
    4148 
     49ifeq ($(BUILD_VARIANT),sqlite) 
     50CONFIGURE_ARGS += \ 
     51        --enable-sqlite 
     52endif 
     53 
     54define Build/InstallDev 
     55        $(INSTALL_DIR) $(1)/usr/include 
     56        $(CP) $(PKG_BUILD_DIR)/h/rad*.h $(1)/usr/include/ 
     57        $(INSTALL_DIR) $(1)/usr/lib 
     58        $(CP) $(PKG_BUILD_DIR)/src/.libs/librad.so* $(1)/usr/lib/ 
     59endef 
     60 
    4261define Package/radlib/install 
    4362        $(INSTALL_DIR) $(1)/usr/lib 
    44         $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/librad.so $(1)/usr/lib/ 
     63        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/.libs/librad.so* $(1)/usr/lib/ 
     64        $(INSTALL_DIR) $(1)/usr/bin 
     65        $(INSTALL_BIN) $(PKG_BUILD_DIR)/msgRouter/.libs/radmrouted $(1)/usr/bin/ 
    4566endef 
    4667 
     68define Package/radlib-sqlite/install 
     69        $(call Package/radlib/install,$(1)) 
     70endef 
    4771 
    4872$(eval $(call BuildPackage,radlib)) 
     73$(eval $(call BuildPackage,radlib-sqlite)) 
Note: See TracChangeset for help on using the changeset viewer.