# # Makefile for evolution Slackware package # Copyright (c) 2004 by Robert Stan # PROGNAME = evolution VERSION = 1.5.94.1 ARCH = i486 BUILD = 1rob SOURCE = http://ftp.gnome.org/pub/gnome/sources/evolution/1.5/evolution-$(VERSION).tar.bz2 DOCS = AUTHORS COPY* ChangeLog HACKING MAINTAINERS NEW* README CUSTNAME = $(PROGNAME) PKGNAME = $(CUSTNAME)-$(VERSION)-$(ARCH)-$(BUILD) MAINTAINER = Robert Stan CFLAGS = "-O2 -pipe -march=$(ARCH) -mcpu=i686" CXXFLAGS = $(CFLAGS) STRIPLIB = y STRIPBIN = y TMP = /var/tmp PKG = $(TMP)/package-$(PROGNAME)-$(VERSION) conf: prep cd $(PROGNAME)-$(VERSION); \ intltoolize --copy --force --automake; \ CFLAGS=$(CFLAGS) CXXFLAGS=$(CXXFLAGS) \ ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --with-pisock=/usr \ --enable-pilot-conduits=yes \ --enable-openssl=yes \ --with-openldap=/usr \ --enable-shared \ --disable-static build: conf make -j4 -C $(PROGNAME)-$(VERSION) package: build mkdir -p $(PKG)/usr/doc/$(PROGNAME)-$(VERSION) cd $(PROGNAME)-$(VERSION); \ cp -a $(DOCS) $(PKG)/usr/doc/$(PROGNAME)-$(VERSION); \ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1; \ make DESTDIR=$(PKG) install; mkdir -p $(PKG)/var/lib/scrollkeeper STRIPLIB=$(STRIPLIB) STRIPBIN=$(STRIPBIN) ../../preparepkg $(PKG) cat slack-desc > ../$(PKGNAME).txt cat slack-desc > $(PKG)/install/slack-desc cat doinst.sh >> $(PKG)/install/doinst.sh cat slack-required > $(PKG)/install/slack-required cd $(PKG) ; makepkg -l y -c n $(PKGNAME).tgz mv $(PKG)/$(PKGNAME).tgz .. include ../../Makefile.global