Skip to content
Browse files

Add uuid tool.

  • Loading branch information...
1 parent 7497ae1 commit be14953b53b6212a65cbee41318d2959bbcb5906 @joshwilsdon joshwilsdon committed Mar 14, 2011
Showing with 56 additions and 1 deletion.
  1. +7 −0 .gitignore
  2. +1 −1 Makefile
  3. +48 −0 uuid/Makefile
  4. BIN uuid/uuid-1.6.2.tar.gz
View
7 .gitignore
@@ -25,3 +25,10 @@
/rsync/rsync-3.0.6
/vim/vim72
/wget/wget-1.12
+/gcc/gcc-3.4.3-i386-build
+/gcc/gcc-3.4.3
+/gtar/tar-1.23
+/less/less-436
+/ntp/ntp-dev-4.2.5p200
+/screen/screen-4.0.3
+/uuid/uuid-1.6.2
View
2 Makefile
@@ -26,7 +26,7 @@
PATH=/sbin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/opt/local/bin
BASE=$(PWD)
DESTDIR=$(BASE)/proto
-SUBDIRS= bash bzip2 curl gcc gtar gzip less libexpat libm libxml libz ncurses node.js nss-nspr ntp openssl perl rsync screen vim wget
+SUBDIRS= bash bzip2 curl gcc gtar gzip less libexpat libm libxml libz ncurses node.js nss-nspr ntp openssl perl rsync screen uuid vim wget
-include Makefile.inc
View
48 uuid/Makefile
@@ -0,0 +1,48 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License"). You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at COPYING
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at COPYING.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2011 Joyent Inc.
+#
+
+VER=uuid-1.6.2
+BASE=$(PWD)
+DESTDIR=$(BASE)/../proto
+GCC=/usr/bin/gcc
+PATH=/sbin:/usr/sbin:/usr/bin
+
+-include ../Makefile.inc
+
+all: $(VER)/config.h
+ ( cd $(VER); gmake)
+
+install:
+ mkdir -p $(DESTDIR)
+ ( cd $(VER); \
+ gmake DESTDIR=$(DESTDIR) install)
+
+clean:
+ rm -rf $(VER)
+
+$(VER)/config.h: $(VER)/configure
+ (cd $(VER); ./configure --prefix=/usr)
+
+$(VER)/configure: $(VER).tar.gz
+ gtar -zxf $(VER).tar.gz
+ touch $(VER)/configure
View
BIN uuid/uuid-1.6.2.tar.gz
Binary file not shown.

0 comments on commit be14953

Please sign in to comment.
Something went wrong with that request. Please try again.