From 7983635b7356369db0a7090c539aa8a46b2d9a5a Mon Sep 17 00:00:00 2001 From: Arn0 Date: Thu, 11 Mar 2021 17:55:12 +0100 Subject: libraries/dumb: build both static and shared libraries Signed-off-by: Willy Sudiarto Raharjo --- libraries/dumb/dumb.SlackBuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libraries/dumb') diff --git a/libraries/dumb/dumb.SlackBuild b/libraries/dumb/dumb.SlackBuild index 90bd4890dd0e..f336e409f6f5 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 .. -- cgit v1.2.3