2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v3.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).zip
15 PKG_SOURCE_URL
:=http
://download.gna.org
/xmpp4r
16 PKG_MD5SUM
:=70eafe960727d750a43ec77ffc1856e9
18 include $(INCLUDE_DIR
)/package.mk
21 TITLE
:=XMPP
/Jabber library for Ruby
25 MAINTAINER
:=Giovanni Di Stasi
<giovanni.distasi@unina.it
>
26 URL
:=http
://home.gna.org
/xmpp4r
/
29 define Package
/xmpp4r
/description
30 This package contains xmpp4r
, an XMPP
/Jabber library for Ruby.
34 (cd
$(PKG_BUILD_DIR
); \
35 ruby
$(PKG_BUILD_DIR
)/setup.rb config \
36 --rbconfig
=$(wildcard $(STAGING_DIR
)/usr
/lib
/ruby
/1.9.1/*-linux
/rbconfig.rb
); \
37 ruby
$(PKG_BUILD_DIR
)/setup.rb
install --prefix="$(PKG_INSTALL_DIR)"; \
41 define Package
/xmpp4r
/install
42 $(INSTALL_DIR
) $(1)/usr
/
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
$(1)/usr
46 $(eval
$(call BuildPackage
,xmpp4r
))