[packages] sqlite3-ruby: mark it as broken, does not cross-compile cleanly anymore...
[openwrt/svn-archive/archive.git] / lang / sqlite3-ruby / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sqlite3-ruby
11 PKG_VERSION:=1.2.4
12 PKG_RELEASE:=1
13
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
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/ruby-sqlite3
21 SUBMENU:=Ruby
22 SECTION:=lang
23 CATEGORY:=Languages
24 TITLE:=Ruby interface for SQLite
25 URL:=http://www.ruby-lang.org/
26 DEPENDS:=+libruby +libsqlite3 @BROKEN
27 endef
28
29 RUBY:= \
30 ruby -I $(STAGING_DIR)/usr/share/ruby \
31
32 define Build/Configure
33 (cd $(PKG_BUILD_DIR)/ext/sqlite3_api; \
34 $(RUBY) extconf.rb; \
35 )
36 endef
37
38 define Build/Compile
39 (cd $(PKG_BUILD_DIR)/ext/sqlite3_api; \
40 $(MAKE); \
41 )
42 endef
43
44 define Package/ruby-sqlite3/install
45 $(INSTALL_DIR) $(1)
46 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
47
48 endef
49
50 $(eval $(call BuildPackage,ruby-sqlite3))