Browse Source

ap/gmic: Upgraded to gmic-1.5.9.3.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
8575bf11f5
  1. 12
      ap/gmic/gmic.SlackBuild
  2. 1
      ap/gmic/gmic_1.5.0.3.tar.gz.sha1
  3. 1
      ap/gmic/gmic_1.5.9.3.tar.gz.sha1

12
ap/gmic/gmic.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011 Damien Goutte-Gattat
# Copyright (C) 2011,2014 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,7 +26,7 @@
# Source package infos
NAMESRC=${NAMESRC:-gmic}
VERSION=${VERSION:-1.5.0.3}
VERSION=${VERSION:-1.5.9.3}
ARCHIVE=${ARCHIVE:-${NAMESRC}_$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/gmic/$ARCHIVE}
@ -85,19 +85,17 @@ tar xf $CWD/$ARCHIVE
cd $NAME/src
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
make -j $JOBS OPENCV_CFLAGS= OPENCV_LDFLAGS=
make -j $JOBS OPENCV_CFLAGS= OPENCV_LDFLAGS= lib
make -j $JOBS OPENCV_CFLAGS= OPENCV_LDFLAGS= gimp
make -j $JOBS OPENMP_CFLAGS=
# Install
install -D -m 755 -s gmic $PKG/usr/bin/gmic
install -D -m 755 -s libgmic.so $PKG/usr/lib$LIBDIRSUFFIX/libgmic.so
install -D -m 755 -s gmic_gimp $PKG/usr/lib$LIBDIRSUFFIX/gimp/2.0/plug-ins/gmic_gimp
install -D -m 644 gmic.h $PKG/usr/include/gmic.h
install -D -m 755 gmic_bashcompletion.sh $PKG/etc/bash_completion.d/gmic_bashcompletion.sh
install -D -m 755 ../resources/gmic_bashcompletion.sh $PKG/etc/bash_completion.d/gmic_bashcompletion.sh
install -D -m 644 ../man/gmic.1.gz $PKG/usr/man/1/gmic.1.gz
mkdir -p $PKG/usr/doc/$NAME
install -m 644 ../AUTHORS ../COPYING ../README $PKG/usr/doc/$NAME
install -m 644 ../COPYING ../README $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

1
ap/gmic/gmic_1.5.0.3.tar.gz.sha1

@ -1 +0,0 @@
1f4254b4f6da8f44204327afadf2f221d7b21c01 gmic_1.5.0.3.tar.gz

1
ap/gmic/gmic_1.5.9.3.tar.gz.sha1

@ -0,0 +1 @@
c795fd628a4e416538dd5521581307326d1785df gmic_1.5.9.3.tar.gz
Loading…
Cancel
Save