gunnar: server/perl-ldap Makefile,1.4,1.5

cvs at kolab.org cvs at kolab.org
Sun Jan 17 14:22:57 CET 2010


Author: gunnar

Update of /kolabrepository/server/perl-ldap
In directory doto:/tmp/cvs-serv2655/perl-ldap

Modified Files:
	Makefile 
Log Message:
Add fetch target. Convert perl-ldap and sqlite to new build pattern. Added with_tokenizer to the php packages (useful for PHPUnit).

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/perl-ldap/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile	9 Jul 2009 15:32:34 -0000	1.4
+++ Makefile	17 Jan 2010 13:22:55 -0000	1.5
@@ -1,37 +1,16 @@
-include ../Base.mk
+include ../make-helper/kolab.mk
 
-NAME = perl-ldap
-PACKAGE = $(NAME)
+PACKAGE = perl-ldap
 PKGVER = $(shell grep "%define[ ]*V_perl_" *.spec | sed -e "s/.*V_perl_[a-z]*\s*\([0-9.]*\).*/\1/")
 VERSION = $(shell grep "%define[ ]*V_perl " *.spec | sed -e "s/.*V_perl \s*\([0-9.]*\).*/\1/")
 RELEASE = $(shell grep "^Release:" *.spec | sed -e "s/^Release:\s*\([0-9a-z_]*\).*/\1/")
 
-SOURCE_0=rsync://rsync.kolab.org/kolab/server/development-2.2/externals/$(NAME)-$(PKGVER).tar.gz
+SOURCE_URL=http://files.kolab.org/server/development-2.2/externals
+SOURCE_0=$(PACKAGE)-$(PKGVER).tar.gz
 EXTRA=cookie_parsing_error.patch sync_refresh_required.patch
 
-.PHONY: all
-all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
-
-.PHONY: dist
-dist: all
-	cp $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm ../stage/
-
-.PHONY: clean
-clean:
-	rm -rf $(KOLABRPMTMP)/$(NAME)*
-	rm -rf $(KOLABRPMTMP)/$(PACKAGE)
-	rm -rf $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
-	rm -rf *~
-
-$(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).$(PLATTAG).rpm $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec $(EXTRA)
-	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
-	rsync -tvz "$(SOURCE_0)" $(KOLABRPMSRC)/$(PACKAGE)/
-
-	cp $(PACKAGE).spec $(EXTRA) $(KOLABRPMSRC)/$(PACKAGE)
-	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec
-
-	cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm .
+BUILD_OPTIONS=
 
-.PHONY: install
-install: $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).$(PLATTAG).rpm
-	$(RPM) -Uhv --force $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).$(PLATTAG).rpm
+include ../make-helper/package.mk
+include ../make-helper/package-new.mk
+include ../make-helper/fetch.mk





More information about the commits mailing list