[csw-devel] SF.net SVN: gar:[3957] csw/mgar/pkg/mysql5/trunk/Makefile
wbonnet at users.sourceforge.net
wbonnet at users.sourceforge.net
Wed Mar 25 21:14:00 CET 2009
Revision: 3957
http://gar.svn.sourceforge.net/gar/?rev=3957&view=rev
Author: wbonnet
Date: 2009-03-25 20:13:59 +0000 (Wed, 25 Mar 2009)
Log Message:
-----------
Initial commit
Modified Paths:
--------------
csw/mgar/pkg/mysql5/trunk/Makefile
Modified: csw/mgar/pkg/mysql5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mysql5/trunk/Makefile 2009-03-25 19:17:40 UTC (rev 3956)
+++ csw/mgar/pkg/mysql5/trunk/Makefile 2009-03-25 20:13:59 UTC (rev 3957)
@@ -8,17 +8,33 @@
(Structured Query Language) database server.
endef
-MASTER_SITES = ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1
-DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+MASTER_SITES = ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/
+DISTFILES = mysql-$(GARVERSION).tar.gz
DISTFILES += $(call admfiles,CSWmysql5,)
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
-# If the url used to check for software update is different of MASTER_SITES, then
-# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
-# UPSTREAM_MASTER_SITES =
+# Change prefix to /opt/csw/mysql5
+prefix = /opt/csw/mysql5
-CONFIGURE_ARGS = $(DIRPATHS)
+# Set ./configure options
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --disable-assembler
+CONFIGURE_ARGS += --without-docs
+CONFIGURE_ARGS += --enable-thread-safe-client
+CONFIGURE_ARGS += --with-named-z-libs=yes
+CONFIGURE_ARGS += --with-berkeley-db
+CONFIGURE_ARGS += --with-innodb
+CONFIGURE_ARGS += --enable-local-infile
+CONFIGURE_ARGS += --with-extra-charsets=all
+CONFIGURE_ARGS += --with-low-memory
+# Enable 64 bits build
+# BUILD64 = 1
+
include gar/category.mk
+
+post-extract:
+ @for i in $(WORKROOTDIR)/build-isa* ; do mv $$i/mysql-$(GARVERSION) $$i/$(GARNAME)-$(GARVERSION) ; done
+ @$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list