Browse Source

xap/ugene: Upgraded to ugene-1.8.0.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
10e8a802c0
  1. 1
      xap/ugene/ugene-1.7.0-src.tar.gz.sha1
  2. 1
      xap/ugene/ugene-1.8.0.tar.gz.sha1
  3. 21
      xap/ugene/ugene.SlackBuild

1
xap/ugene/ugene-1.7.0-src.tar.gz.sha1

@ -1 +0,0 @@
7efb04f92673e8db0e6756cc3cd42ea1438c7e54 ugene-1.7.0-src.tar.gz

1
xap/ugene/ugene-1.8.0.tar.gz.sha1

@ -0,0 +1 @@
479aac8b46b32b20d8356316c6dd127c424bf752 ugene-1.8.0.tar.gz

21
xap/ugene/ugene.SlackBuild

@ -26,8 +26,8 @@
# Source package infos
NAMESRC=${NAMESRC:-ugene}
VERSION=${VERSION:-1.7.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-src.tar.gz}
VERSION=${VERSION:-1.8.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://ugene.unipro.ru/downloads/$ARCHIVE}
# Build infos
@ -64,9 +64,11 @@ sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 2)
# Compilation options
LIBDIRSUFFIX=""
case "$ARCH" in
x86_64)
COMP_OPTS="CONFIG+=x64 INSTALL_LIBDIR=/usr/lib64"
LIBDIRSUFFIX="64"
;;
*)
COMP_OPTS=""
@ -82,6 +84,21 @@ qmake $COMP_OPTS INSTALL_MANDIR=/usr/man -r
make -j $JOBS
make install INSTALL_ROOT=$PKG
# Install plugins libraries (forgotten by make install?)
install -m 644 -s src/_release/plugins/*.so.1.0.0 \
$PKG/usr/lib$LIBDIRSUFFIX/ugene/plugins/
( cd $PKG/usr/lib$LIBDIRSUFFIX/ugene/plugins
for lib in *.so.1.0.0 ; do
libname=$(echo "$lib" | cut -d. -f1)
ln -s $lib $libname.so.1.0
ln -s $lib $libname.so.1
ln -s $lib $libname.so
done
)
# Move error-reporting program into ugene directory
mv $PKG/ugenem $PKG/usr/lib$LIBDIRSUFFIX/ugene/
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYRIGHT LICENSE $PKG/usr/doc/$NAME

Loading…
Cancel
Save