| 12345678910111213141516171819202122232425262728293031323334353637383940 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include $(TOPDIR)/rules.mkPKG_NAME:=		ruby-ldapPKG_VERSION:=		0.9.8PKG_RELEASE:=		1PKG_MD5SUM:=		83240451aa43de447d48035dc2d10deePKG_DESCR:=		Ruby LDAP extensionPKG_SECTION:=		langPKG_DEPENDS:=		ruby libopenldapPKG_BUILDDEP:=		ruby openldapPKG_URL:=		http://ruby-ldap.sourceforge.net/PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=ruby-ldap/0.9.8/}DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2include $(TOPDIR)/mk/package.mk$(eval $(call PKG_template,RUBY_LDAP,ruby-ldap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))CONFIG_STYLE:=		manualFAKE_FLAGS+=		DESTDIR="/"do-configure:	(cd $(WRKBUILD) && $(STAGING_DIR)/bin/ruby -I$(STAGING_DIR)/usr/lib/ruby/1.9.1/$(CPU_ARCH)-linux/ extconf.rb \		--with-openldap2 \		--with-ldap-lib=$(STAGING_DIR)/usr/lib \		--with-ldap-include=$(STAGING_DIR)/usr/include)ruby-ldap-install:	$(INSTALL_DIR) $(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/$(CPU_ARCH)-linux	$(INSTALL_DIR) $(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/ldap	$(CP) $(STAGING_DIR)/usr/lib/ruby/site_ruby/1.9.1/$(CPU_ARCH)-linux/ldap.so \		$(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/$(CPU_ARCH)-linux	$(CP) $(STAGING_DIR)//usr/lib/ruby/site_ruby/1.9.1/ldap/*.rb \		$(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/ldapinclude ${TOPDIR}/mk/pkg-bottom.mk
 |