aboutsummaryrefslogtreecommitdiff
path: root/system/wacomtablet/wacomtablet.SlackBuild
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2013-12-01 09:25:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-01 13:01:00 +0700
commitea735338ad4d887de1a02202538ed9bac9b040ca (patch)
treedca30972dec5400088a57afa6e64aaedb4ba9009 /system/wacomtablet/wacomtablet.SlackBuild
parent86b8196a41a6e8fe8482ed62135102716d7949ac (diff)
system/wacomtablet: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/wacomtablet/wacomtablet.SlackBuild')
-rw-r--r--system/wacomtablet/wacomtablet.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/system/wacomtablet/wacomtablet.SlackBuild b/system/wacomtablet/wacomtablet.SlackBuild
index fb052e87524b..db50ce909bbe 100644
--- a/system/wacomtablet/wacomtablet.SlackBuild
+++ b/system/wacomtablet/wacomtablet.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wacomtablet
-VERSION=${VERSION:-1.3.7_2}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/114856-$PRGNAM-$SRCVERSION.tar.gz
+tar xvf $CWD/114856-$PRGNAM-$SRCVERSION.tar.bz2
cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
@@ -73,7 +73,12 @@ find -L . \
mkdir build
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..