science/cln: rebuilt
authoryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Thu, 26 Mar 2009 00:26:28 +0000 (00:26 +0000)
committeryselkowitz <yselkowitz@e127d73d-b18e-4ae1-a744-a22e6a3ccd30>
Thu, 26 Mar 2009 00:26:28 +0000 (00:26 +0000)
git-svn-id: https://cygwin-ports.svn.sourceforge.net/svnroot/cygwin-ports/ports/trunk@6188 e127d73d-b18e-4ae1-a744-a22e6a3ccd30

README
cln-1.2.2-1.cygport [deleted file]
cln-1.2.2-10.cygport [new file with mode: 0644]
cln.hint [moved from setup.hint with 85% similarity]
libcln-devel.hint [moved from devel.hint with 87% similarity]
libcln5.hint [moved from lib.hint with 88% similarity]

diff --git a/README b/README
index 4395d4ae0b8568cfdc745081206a71b9d77f9c06..232bcb4c7c3adaa01c695f4037c0b4f851348a63 100644 (file)
--- a/README
+++ b/README
@@ -24,20 +24,22 @@ Features:
     - hooks for memory allocation and exceptions.
 
 Runtime requirements:
-  cygwin-1.5.25-7
-  libgmp3-4.2.1-1
+  cygwin-1.7.0-44
+  libgcc1-4.3.2-2
+  libgmp3-4.2.4-2
+  libstdc++6-4.3.2-2
 
 Build requirements:
 (besides corresponding devel packages)
-  autoconf2.5-2.61-1
-  automake1.10-1.10-1
-  binutils-20060817-1
-  cygport-0.3.8-1
-  gawk-3.1.6-1
-  gcc-core-3.4.4-3
-  gcc-g++-3.4.4-3
-  libtool1.5-1.5.23a-2
-  make-3.81-1
+  autoconf2.5-2.63-10
+  automake1.10-1.10.1-10
+  binutils-20080624-2
+  cygport-0.9.6-1
+  gawk-3.1.6-2
+  gcc4-core-4.3.2-2
+  gcc4-g++-4.3.2-2
+  libtool-2.2.6a-2
+  make-3.81-2
   sed-4.1.5-2
 
 Canonical homepage:
@@ -59,7 +61,6 @@ Build instructions:
 
 This will create:
   /usr/src/cln-1.2.2-X-src.tar.bz2
-  /usr/src/cln-1.2.2-X.tar.bz2
   /usr/src/libcln-devel-1.2.2-X.tar.bz2
   /usr/src/libcln5-1.2.2-X.tar.bz2
 
@@ -67,36 +68,6 @@ This will create:
 
 Files included in the binary packages:
 
-(cln)
-  /etc/postinstall/cln.sh
-  /usr/share/doc/cln-1.2.2/COPYING
-  /usr/share/doc/cln-1.2.2/ChangeLog
-  /usr/share/doc/cln-1.2.2/INSTALL
-  /usr/share/doc/cln-1.2.2/NEWS
-  /usr/share/doc/cln-1.2.2/README
-  /usr/share/doc/cln-1.2.2/TODO
-  /usr/share/doc/cln-1.2.2/dvi/cln.dvi
-  /usr/share/doc/cln-1.2.2/html/cln.html
-  /usr/share/doc/cln-1.2.2/html/cln_1.html
-  /usr/share/doc/cln-1.2.2/html/cln_10.html
-  /usr/share/doc/cln-1.2.2/html/cln_11.html
-  /usr/share/doc/cln-1.2.2/html/cln_12.html
-  /usr/share/doc/cln-1.2.2/html/cln_13.html
-  /usr/share/doc/cln-1.2.2/html/cln_14.html
-  /usr/share/doc/cln-1.2.2/html/cln_15.html
-  /usr/share/doc/cln-1.2.2/html/cln_16.html
-  /usr/share/doc/cln-1.2.2/html/cln_2.html
-  /usr/share/doc/cln-1.2.2/html/cln_3.html
-  /usr/share/doc/cln-1.2.2/html/cln_4.html
-  /usr/share/doc/cln-1.2.2/html/cln_5.html
-  /usr/share/doc/cln-1.2.2/html/cln_6.html
-  /usr/share/doc/cln-1.2.2/html/cln_7.html
-  /usr/share/doc/cln-1.2.2/html/cln_8.html
-  /usr/share/doc/cln-1.2.2/html/cln_9.html
-  /usr/share/doc/cln-1.2.2/html/cln_abt.html
-  /usr/share/doc/cln-1.2.2/html/cln_fot.html
-  /usr/share/info/cln.info.gz
-
 (libcln5)
   /usr/bin/cygcln-5.dll
 
@@ -182,25 +153,39 @@ Files included in the binary packages:
   /usr/lib/libcln.dll.a
   /usr/lib/libcln.la
   /usr/lib/pkgconfig/cln.pc
+  /usr/share/doc/cln/COPYING
+  /usr/share/doc/cln/ChangeLog
+  /usr/share/doc/cln/NEWS
+  /usr/share/doc/cln/README
+  /usr/share/doc/cln/TODO
+  /usr/share/doc/cln/dvi/cln.dvi
+  /usr/share/doc/cln/html/cln.html
+  /usr/share/doc/cln/html/cln_1.html
+  /usr/share/doc/cln/html/cln_10.html
+  /usr/share/doc/cln/html/cln_11.html
+  /usr/share/doc/cln/html/cln_12.html
+  /usr/share/doc/cln/html/cln_13.html
+  /usr/share/doc/cln/html/cln_14.html
+  /usr/share/doc/cln/html/cln_15.html
+  /usr/share/doc/cln/html/cln_16.html
+  /usr/share/doc/cln/html/cln_2.html
+  /usr/share/doc/cln/html/cln_3.html
+  /usr/share/doc/cln/html/cln_4.html
+  /usr/share/doc/cln/html/cln_5.html
+  /usr/share/doc/cln/html/cln_6.html
+  /usr/share/doc/cln/html/cln_7.html
+  /usr/share/doc/cln/html/cln_8.html
+  /usr/share/doc/cln/html/cln_9.html
+  /usr/share/doc/cln/html/cln_abt.html
+  /usr/share/doc/cln/html/cln_fot.html
+  /usr/share/info/cln.info.gz
 
 ------------------
 
 Port Notes:
 
------ version 1.2.2-1 -----
-Version bump.
-
------ version 1.2.0-1 -----
-ABI version bump.
-
------ version 1.1.13-1 -----
-Version and ABI bump, built with cygport.
-
------ version 1.1.8-1 -----
-Version bump; shared library built and html documentation included.
-
------ version 1.1.5-1 -----
-Initial release for Cygwin.
+----- version 1.2.2-10 -----
+Initial release for Cygwin 1.7.
 
 
 Cygwin port maintained by:
diff --git a/cln-1.2.2-1.cygport b/cln-1.2.2-1.cygport
deleted file mode 100644 (file)
index b88fdfc..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-DESCRIPTION="Class Library for Numbers"
-HOMEPAGE="http://www.ginac.de/CLN/"
-SRC_URI="http://www.ginac.de/CLN/${P}.tar.bz2"
-
-abi=5
-
-PKG_NAMES="${PN} lib${PN}${abi} lib${PN}-devel"
-PKG_HINTS="setup lib devel"
-PKG_CONTENTS[0]='etc/ usr/share/doc/ usr/share/info/'
-PKG_CONTENTS[1]="usr/bin/*-${abi}.dll"
-PKG_CONTENTS[2]="usr/include/ usr/lib/"
-
-DIFF_EXCLUDES="libtool.m4"
-
-src_compile() {
-       cd ${S}
-       rm -f autoconf/aclocal.m4 m4/libtool.m4
-       aclocal -I m4 || error "aclocal failed"
-       libtoolize -c -f || error "libtoolize failed"
-       autoconf -f || error "autoconf failed"
-
-       cd ${B}
-       cygconf --enable-shared --disable-static
-       cygmake LDFLAGS="-no-undefined"
-}
-
-src_install() {
-       cd ${B}
-       cyginstall htmldir=/usr/share/doc/${P}/html dvidir=/usr/share/doc/${P}/dvi
-}
diff --git a/cln-1.2.2-10.cygport b/cln-1.2.2-10.cygport
new file mode 100644 (file)
index 0000000..53f90bf
--- /dev/null
@@ -0,0 +1,28 @@
+DESCRIPTION="Class Library for Numbers"
+HOMEPAGE="http://www.ginac.de/CLN/"
+SRC_URI="http://www.ginac.de/CLN/${P}.tar.bz2"
+
+PKG_NAMES="${PN} lib${PN}5 lib${PN}-devel"
+libcln5_CONTENTS="usr/bin/cygcln-5.dll"
+libcln_devel_CONTENTS="usr/include/ usr/lib/ usr/share/"
+
+DISTCLEANFILES="autoconf/aclocal.m4 m4/libtool.m4 cln.spec
+                include/cln/config.h include/cln/version.h src/*/*config.h"
+
+ACLOCAL_FLAGS="-I m4"
+NO_AUTOHEADER=1
+CPPFLAGS+=" -DNO_ASM"
+
+src_compile() {
+       cd ${S}
+       cygautoreconf
+       cd ${B}
+       mkdir -p include/cln/
+       cygconf --enable-shared
+       cygmake LDFLAGS="${LDFLAGS} -no-undefined"
+}
+
+src_install() {
+       cd ${B}
+       cyginstall htmldir=/usr/share/doc/${PN}/html dvidir=/usr/share/doc/${PN}/dvi
+}
similarity index 85%
rename from setup.hint
rename to cln.hint
index cfd881aca08a1a4bccd595c733e151637a47632c..cd8deba05e4f62fffe9df58a4f8cc1eb013e0157 100644 (file)
+++ b/cln.hint
@@ -1,5 +1,5 @@
-category: Math Libs
-sdesc: "Class Library for Numbers (documentation)"
+category: Math
+sdesc: "Class Library for Numbers (sources)"
 ldesc: "This is the Class Library for Numbers.  Features--
 - Rich set of number classes-
   Integer (unlimited precision), rational, short float,
similarity index 87%
rename from devel.hint
rename to libcln-devel.hint
index e965f1fd2001e2aa2b8c75c803bad41180ec2620..3f888d12398346071572fbcb77000ea37fb0c25d 100644 (file)
@@ -1,5 +1,5 @@
-category: Math Libs
-requires: cygwin libcln5 libgmp-devel
+category: Math
+requires: cygwin libcln5 libgmp-devel libstdc++6-devel
 external-source: cln
 sdesc: "Class Library for Numbers (development)"
 ldesc: "This is the Class Library for Numbers.  Features--
similarity index 88%
rename from lib.hint
rename to libcln5.hint
index 1a94ace66e45b1bed18f4a6e33aeb1fcbbe29acf..9c6f8941bd47d34941c5d2ea8415996aaa3b974b 100644 (file)
--- a/lib.hint
@@ -1,5 +1,5 @@
-category: Math Libs
-requires: cygwin libgmp3
+category: Math
+requires: cygwin libgcc1 libgmp3 libstdc++6
 external-source: cln
 sdesc: "Class Library for Numbers (runtime)"
 ldesc: "This is the Class Library for Numbers.  Features--
This page took 0.038686 seconds and 5 git commands to generate.