2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=sqlite3-ruby
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://files.rubyforge.vm.bytemark.
co.uk
/sqlite-ruby
/
16 PKG_MD5SUM
:=fe75fa99dd9a2b5a2f84ab484e7f6469
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/ruby-sqlite3
24 TITLE
:=Ruby interface for SQLite
25 URL
:=http
://www.ruby-lang.org
/
26 DEPENDS
:=+libruby
+libsqlite3 @BROKEN
30 ruby
-I
$(STAGING_DIR
)/usr
/share
/ruby \
32 define Build
/Configure
33 (cd
$(PKG_BUILD_DIR
)/ext
/sqlite3_api
; \
39 (cd
$(PKG_BUILD_DIR
)/ext
/sqlite3_api
; \
44 define Package
/ruby-sqlite3
/install
46 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
50 $(eval
$(call BuildPackage
,ruby-sqlite3
))