summaryrefslogtreecommitdiffstats
path: root/encap/tools/epkg/Makefile
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-02 03:35:56 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-02 03:35:56 +0000
commit26a92c11cc3269498611e778b1849b6aa61b63c2 (patch)
tree8dfaae6683c46ac18eadc3bde24cb1f22e9ee9f5 /encap/tools/epkg/Makefile
parentc97b23046e161247509c104e74a5d9b73f8701be (diff)
downloadbcfg2-26a92c11cc3269498611e778b1849b6aa61b63c2.tar.gz
bcfg2-26a92c11cc3269498611e778b1849b6aa61b63c2.tar.bz2
bcfg2-26a92c11cc3269498611e778b1849b6aa61b63c2.zip
* reorged tangential tools into tools directory
* added ostiary encap git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2024 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/tools/epkg/Makefile')
-rw-r--r--encap/tools/epkg/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/encap/tools/epkg/Makefile b/encap/tools/epkg/Makefile
new file mode 100644
index 000000000..6f4cf7277
--- /dev/null
+++ b/encap/tools/epkg/Makefile
@@ -0,0 +1,43 @@
+# $Id$
+
+.PHONY : all clean distclean install zlib libtar openssl curl fget expat epkg
+.SUFFIXES :
+
+BASEDIR = /usr/local
+ENCAPDIR = ${BASEDIR}/encap
+PREFIX = /tmp/epkg-static-libs
+PATH = ${PREFIX}/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/local/bin:/opt/csw/bin:/usr/sbin:/usr/bin
+LDFLAGS = -L${PREFIX}/lib
+CPPFLAGS = -I${PREFIX}/include
+export PATH LDFLAGS CPPFLAGS
+
+ZLIB = zlib-1.2.3
+LIBTAR = libtar-1.2.11
+OPENSSL = openssl-0.9.8b
+CURL = curl-7.15.4
+FGET = fget-1.3.3
+EXPAT = expat-2.0.0
+EPKG = epkg-2.3.9
+
+all: zlib libtar openssl curl fget expat epkg
+
+zlib:
+ cd ${ZLIB} && prefix=${PREFIX} CC=gcc ./configure && $(MAKE) && $(MAKE) install
+
+libtar:
+ cd ${LIBTAR} && ./configure --disable-encap --disable-epkg-install --prefix=${PREFIX} && $(MAKE) && $(MAKE) install
+
+openssl:
+ cd ${OPENSSL} && ./config --prefix=${PREFIX} zlib no-shared && $(MAKE) && $(MAKE) install
+
+curl:
+ cd ${CURL} && ./configure --disable-ipv6 --disable-shared --prefix=${PREFIX} && $(MAKE) && $(MAKE) install
+
+fget:
+ cd ${FGET} && ./configure --disable-encap --disable-epkg-install --prefix=${PREFIX} && $(MAKE) && $(MAKE) install
+
+expat:
+ cd ${EXPAT} && ./configure --disable-shared --prefix=${PREFIX} && $(MAKE) && $(MAKE) install
+
+epkg:
+ cd ${EPKG} && ./configure && $(MAKE) && $(MAKE) install \ No newline at end of file