[packages] remove variants from radlib
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33176 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
aacb8d82f0
commit
40ff33b65f
@ -22,40 +22,24 @@ include $(INCLUDE_DIR)/package.mk
|
|||||||
define Package/radlib
|
define Package/radlib
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=+libpthread
|
DEPENDS:=+libpthread +libsqlite3
|
||||||
TITLE:=Rapid Application Development Library
|
TITLE:=Rapid Application Development Library
|
||||||
URL:=http://www.radlib.teel.ws/
|
URL:=http://www.radlib.teel.ws/
|
||||||
VARIANT:=nosql
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/radlib/description
|
define Package/radlib/description
|
||||||
radlib is a rapid application development library for unix multi-process applications
|
radlib is a rapid application development library for unix multi-process applications
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/radlib-sqlite
|
|
||||||
$(call Package/radlib)
|
|
||||||
VARIANT:=sqlite
|
|
||||||
DEPENDS+=+libsqlite3
|
|
||||||
TITLE+= (sqlite)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/radlib-sqlite/description
|
define Package/radlib-sqlite/description
|
||||||
$(call Package/radlib/description)
|
$(call Package/radlib/description)
|
||||||
This package comes with sqlite support
|
This package comes with sqlite support
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
|
||||||
--prefix="$(TOOLCHAIN_DIR)/usr"
|
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),sqlite)
|
|
||||||
EXTRA_LDFLAGS=-lsqlite3
|
EXTRA_LDFLAGS=-lsqlite3
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-sqlite
|
--prefix="$(TOOLCHAIN_DIR)/usr" \
|
||||||
else
|
--enable-sqlite
|
||||||
CONFIGURE_ARGS += \
|
|
||||||
--disable-sqlite
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
@ -76,4 +60,3 @@ define Package/radlib-sqlite/install
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,radlib))
|
$(eval $(call BuildPackage,radlib))
|
||||||
$(eval $(call BuildPackage,radlib-sqlite))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user