[Lunar-commits] <moonbase> libf2c: Adding to moonbase, will be a depends for freecad.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sun Dec 18 15:58:40 CET 2011
commit e5ea8d0a9470fee590e78d0531375a15dccebaff
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sun Dec 18 09:58:40 2011 -0500
libf2c: Adding to moonbase, will be a depends for freecad.
---
libs/libf2c/BUILD | 12 ++++++++++++
libs/libf2c/DETAILS | 13 +++++++++++++
libs/libf2c/PRE_BUILD | 3 +++
3 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/libs/libf2c/BUILD b/libs/libf2c/BUILD
new file mode 100644
index 0000000..7ab836f
--- /dev/null
+++ b/libs/libf2c/BUILD
@@ -0,0 +1,12 @@
+(
+
+# cd src &&
+ cp makefile.u Makefile &&
+
+ make hadd &&
+ export LIBDIR+=" /usr/lib" &&
+ export CFLAGS+=" $CFLAGS -DNON_UNIX_STDIO -fPIC" &&
+
+ default_make
+
+) > $C_FIFO 2>&1
diff --git a/libs/libf2c/DETAILS b/libs/libf2c/DETAILS
new file mode 100644
index 0000000..1695e84
--- /dev/null
+++ b/libs/libf2c/DETAILS
@@ -0,0 +1,13 @@
+ MODULE=libf2c
+ VERSION=20111217
+ SOURCE=$MODULE.zip
+ SOURCE_URL=http://www.netlib.org/f2c/
+ SOURCE_VFY=sha1:f71066b41695738dec2261de71eaf02a1aaffe8b
+ WEB_SITE=http://www.netlib.org/f2c
+ ENTERED=20111218
+ UPDATED=20111218
+ SHORT="fortran77 to c translator"
+
+cat << EOF
+Fortran77 to c translator.
+EOF
diff --git a/libs/libf2c/PRE_BUILD b/libs/libf2c/PRE_BUILD
new file mode 100644
index 0000000..1cedbc0
--- /dev/null
+++ b/libs/libf2c/PRE_BUILD
@@ -0,0 +1,3 @@
+mkdir $SOURCE_DIRECTORY
+cd $SOURCE_DIRECTORY
+unpack $SOURCE
More information about the Lunar-commits
mailing list