1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 98a77579d8a11d5fb559f1f589c27af6dc8495657a8a9ecc5bd16b71c4a7e884
10 PKG_DESCR
:= ruby ldap extension
11 PKG_SECTION
:= dev
/lang
12 PKG_DEPENDS
:= ruby libopenldap
13 PKG_BUILDDEP
:= ruby openldap
14 PKG_URL
:= http
://ruby-ldap.sourceforge.net
/
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=ruby-ldap
/0.9.8/}
17 PKG_CFLINE_RUBY_LDAP
:= depends on ADK_BROKEN
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,RUBY_LDAP
,ruby-ldap
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 FAKE_FLAGS
+= DESTDIR
="/"
29 (cd
$(WRKBUILD
) && $(STAGING_HOST_DIR
)/usr
/bin
/ruby
-I
$(STAGING_TARGET_DIR
)/usr
/lib
/ruby
/2.0.0/$(ADK_TARGET_CPU_ARCH
)-linux
/ extconf.rb \
32 --with-ldap-dir
=$(STAGING_TARGET_DIR
)/usr \
33 --with-ldap-lib
=$(STAGING_TARGET_DIR
)/usr
/lib \
34 --with-ldap-include
=$(STAGING_TARGET_DIR
)/usr
/include)
37 $(INSTALL_DIR
) $(IDIR_RUBY_LDAP
)/usr
/lib
/ruby
/site_ruby
/2.0.0/$(ADK_TARGET_CPU_ARCH
)-linux
38 $(INSTALL_DIR
) $(IDIR_RUBY_LDAP
)/usr
/lib
/ruby
/site_ruby
/2.0.0/ldap
39 $(CP
) $(STAGING_TARGET_DIR
)/usr
/lib
/ruby
/site_ruby
/2.0.0/$(ADK_TARGET_CPU_ARCH
)-linux
/ldap.so \
40 $(IDIR_RUBY_LDAP
)/usr
/lib
/ruby
/site_ruby
/2.0.0/$(ADK_TARGET_CPU_ARCH
)-linux
41 $(CP
) $(STAGING_TARGET_DIR
)//usr
/lib
/ruby
/site_ruby
/2.0.0/ldap
/*.rb \
42 $(IDIR_RUBY_LDAP
)/usr
/lib
/ruby
/site_ruby
/2.0.0/ldap
44 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk