aboutsummaryrefslogtreecommitdiff
path: root/libraries/dumb
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2021-03-11 17:55:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-13 08:34:32 +0700
commit7983635b7356369db0a7090c539aa8a46b2d9a5a (patch)
treef79d09b502a2d2fa445df6ad743e4d63f406f659 /libraries/dumb
parent9f109e4042de30b944f16e01dc512a39946a4ee3 (diff)
libraries/dumb: build both static and shared libraries
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/dumb')
-rw-r--r--libraries/dumb/dumb.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/dumb/dumb.SlackBuild b/libraries/dumb/dumb.SlackBuild
index 90bd4890dd0ec..f336e409f6f54 100644
--- a/libraries/dumb/dumb.SlackBuild
+++ b/libraries/dumb/dumb.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=dumb
VERSION=${VERSION:-2.0.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,12 +72,17 @@ find -L . \
mkdir build
cd build
- cmake \
+cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_ALLEGRO4:BOOL=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
+make install DESTDIR=$PKG
+cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DBUILD_ALLEGRO4:BOOL=ON \
-DCMAKE_BUILD_TYPE=Release ..
-
make install DESTDIR=$PKG
cd ..