Skip to content
Browse files

Adding liblinear copyright file

  • Loading branch information...
1 parent 042875c commit c700282cdfafd35f3155409cf96257974a15837c @NathanHowell committed Nov 7, 2011
Showing with 48 additions and 6 deletions.
  1. +31 −0 cbits/COPYRIGHT
  2. +17 −6 liblinear-enumerator.cabal
View
31 cbits/COPYRIGHT
@@ -0,0 +1,31 @@
+
+Copyright (c) 2007-2011 The LIBLINEAR Project.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. Neither name of copyright holders nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
23 liblinear-enumerator.cabal
@@ -10,12 +10,17 @@ author: Nathan Howell <nathan.d.howell@gmail.com>
maintainer: Nathan Howell <nathan.d.howell@gmail.com>
homepage: http://github.com/NathanHowell/liblinear-enumerator
bug-reports: http://github.com/NathanHowell/liblinear-enumerator/issues
-category: FFI
+category: AI, Classification, Statistics
build-type: Simple
-cabal-version: >= 1.2.3
+cabal-version: >= 1.10
+
+extra-source-files:
+ cbits/COPYRIGHT
library
+ default-language:
+ Haskell2010
hs-source-dirs:
src
exposed-modules:
@@ -31,8 +36,9 @@ library
vector >= 0.9 && < 0.10
ghc-options:
-Wall
- extensions:
- ForeignFunctionInterface
+
+ build-tools:
+ hsc2hs
include-dirs:
cbits/
@@ -41,16 +47,21 @@ library
cbits/tron.h
cbits/blas/blas.h
cbits/blas/blasp.h
-
+
c-sources:
cbits/linear.cpp
cbits/tron.cpp
cbits/blas/daxpy.c
cbits/blas/dnrm2.c
cbits/blas/ddot.c
cbits/blas/dscal.c
-
+
includes:
cbits/linear.h
extra-libraries:
stdc++
+
+source-repository head
+ type: git
+ location: https://github.com/NathanHowell/liblinear-enumerator.git
+

0 comments on commit c700282

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