|
|
@ -8,11 +8,11 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=sqlite |
|
|
|
PKG_VERSION:=3290000 |
|
|
|
PKG_VERSION:=3300100 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-autoconf-$(PKG_VERSION).tar.gz |
|
|
|
PKG_HASH:=8e7c1e2950b5b04c5944a981cb31fffbf9d2ddda939d536838ebc854481afd5b |
|
|
|
PKG_HASH:=8c5a50db089bd2a1b08dbc5b00d2027602ca7ff238ba7658fabca454d4298e60 |
|
|
|
PKG_SOURCE_URL:=https://www.sqlite.org/2019/ |
|
|
|
|
|
|
|
PKG_LICENSE:=PUBLICDOMAIN |
|
|
@ -59,6 +59,7 @@ define Package/libsqlite3 |
|
|
|
CATEGORY:=Libraries |
|
|
|
DEPENDS:=+libpthread +zlib |
|
|
|
TITLE+= (library) |
|
|
|
ABI_VERSION:=0 |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libsqlite3/description |
|
|
@ -124,19 +125,19 @@ endif |
|
|
|
define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/include |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/sqlite3{,ext}.h $(1)/usr/include/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite3.{a,so*} $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sqlite3.pc $(1)/usr/lib/pkgconfig/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite3.{a,so*} $(1)/usr/lib |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/sqlite3{,ext}.h $(1)/usr/include |
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sqlite3.pc $(1)/usr/lib/pkgconfig |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libsqlite3/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite3.so.* $(1)/usr/lib/ |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite3.so.$(ABI_VERSION)* $(1)/usr/lib |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/sqlite3-cli/install |
|
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sqlite3 $(1)/usr/bin/ |
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sqlite3 $(1)/usr/bin |
|
|
|
endef |
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libsqlite3)) |
|
|
|