turkbits avatar turkbits committed 31cf88a

adding gsl and bogofilter packages

Comments (0)

Files changed (2)

bogofilter/SRCBUILD

+# Maintainer: turkbits <turkbits@turkbits.net>
+
+version=1.2.4
+description="A fast Bayesian spam filtering tool"
+depends=('db' 'perl' 'gsl')
+backup=('etc/bogofilter/bogofilter.cf')
+sources=(http://sourceforge.net/projects/bogofilter/files/bogofilter-current/bogofilter-$version/bogofilter-$version.tar.bz2)
+
+src_compile() {
+  cd "$SOURCE_DIR/bogofilter-$version"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc/bogofilter  \
+              --localstatedir=/var \
+              --enable-transactions
+  make
+}
+
+src_install() {
+  cd "$SOURCE_DIR/bogofilter-$version"
+  make DESTDIR="$INSTALL_DIR" install
+
+  mv "$INSTALL_DIR/etc/bogofilter/bogofilter.cf.example" "$INSTALL_DIR/etc/bogofilter/bogofilter.cf"
+
+  install -dm755 "$INSTALL_DIR/usr/share/bogofilter/contrib"
+  install -m644 contrib/* "$INSTALL_DIR/usr/share/bogofilter/contrib/"
+}
+# Maintainer: turkbits <turkbits@turkbits.net>
+
+version=1.16
+description="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
+sources=("ftp://ftp.gnu.org/gnu/gsl/gsl-$version.tar.gz")
+depends=('glibc' 'bash')
+
+src_compile() {
+    #unset LDFLAGS
+    cd "$SOURCE_DIR/gsl-$version"
+    ./configure --prefix=/usr --disable-static
+    make
+}
+
+src_check() {
+    cd "$SOURCE_DIR/gsl-$version"
+    make check
+}
+
+src_install() {
+    cd "$SOURCE_DIR/gsl-$version"
+    make DESTDIR="$INSTALL_DIR" install
+}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.