From 9d049fc38e2e43019887992a5269de9884a1dd0c Mon Sep 17 00:00:00 2001 From: sibel Date: Tue, 19 Apr 2011 07:55:21 +0200 Subject: soprano, selon LFS --- kde/soprano/.footprint.i686 | 23 +++++++++++++++++++++++ kde/soprano/.footprint.x86_64 | 23 +++++++++++++++++++++++ kde/soprano/Pkgfile | 25 +++++++++++++++++++++++-- 3 files changed, 69 insertions(+), 2 deletions(-) diff --git a/kde/soprano/.footprint.i686 b/kde/soprano/.footprint.i686 index 50eed38ea..7757da8b5 100644 --- a/kde/soprano/.footprint.i686 +++ b/kde/soprano/.footprint.i686 @@ -1,3 +1,26 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc2.d/ +lrwxrwxrwx root/root etc/rc.d/rc2.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S48soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S48soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S48soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +-rw-r--r-- root/root etc/sysconfig/soprano +drwxr-xr-x root/root srv/ +drwxr-xr-x root/root srv/soprano/ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/onto2vocabularyclass diff --git a/kde/soprano/.footprint.x86_64 b/kde/soprano/.footprint.x86_64 index 50eed38ea..7757da8b5 100644 --- a/kde/soprano/.footprint.x86_64 +++ b/kde/soprano/.footprint.x86_64 @@ -1,3 +1,26 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-- root/root etc/rc.d/init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc2.d/ +lrwxrwxrwx root/root etc/rc.d/rc2.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S48soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S48soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S48soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K35soprano -> ../init.d/soprano +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +-rw-r--r-- root/root etc/sysconfig/soprano +drwxr-xr-x root/root srv/ +drwxr-xr-x root/root srv/soprano/ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/onto2vocabularyclass diff --git a/kde/soprano/Pkgfile b/kde/soprano/Pkgfile index b12c92510..e9648825a 100755 --- a/kde/soprano/Pkgfile +++ b/kde/soprano/Pkgfile @@ -2,15 +2,19 @@ # URL: http://soprano.sourceforge.net/ # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: jdk, cmake, qt, clucene, redland, virtuoso, libiodbc, doxygen +# Depends on: jdk, cmake, qt, clucene, redland, virtuoso, libiodbc, doxygen, libpostgresql, mysqlclient, unixodbc # Run on: qt,clucene,virtuoso,libiodbc,redland name=soprano version=2.6.0 -release=1 +release=2 source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2) build() { + source /etc/blfs-bootscripts + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 + source /etc/profile cd $SRC mkdir build @@ -22,4 +26,21 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr make make DESTDIR=$PKG install + + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-soprano + + install -m755 -d $PKG/srv/soprano + + mkdir -p $PKG/etc/sysconfig + mkdir -p $PKG/etc/rc.d/init.d + +cat > $PKG/etc/sysconfig/soprano << "EOF" +# Begin /etc/sysconfig/soprano +SOPRANO_STORAGE="/srv/soprano" +SOPRANO_BACKEND="virtuosobackend" # virtuoso, sesame2, redland +SOPRANO_OPTIONS="--with-index" # using CLucene index +##SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711" # Default port is 5000 +# End /etc/sysconfig/soprano +EOF } -- cgit v1.2.3-54-g00ecf