diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-30 23:03:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 07:59:42 +0700 |
commit | d39730accef988a516840eaba64bc2d407d8739f (patch) | |
tree | 177ca6fa0f304d04c04809f50b9c496dd6eae095 /audio/gogglesmm/gogglesmm.SlackBuild | |
parent | 9a188b72a49c15e6791e066e458663130a7fee9b (diff) | |
download | slackbuilds-d39730accef988a516840eaba64bc2d407d8739f.tar.gz |
audio/gogglesmm: Updated for version 1.1.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/gogglesmm/gogglesmm.SlackBuild')
-rw-r--r-- | audio/gogglesmm/gogglesmm.SlackBuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/audio/gogglesmm/gogglesmm.SlackBuild b/audio/gogglesmm/gogglesmm.SlackBuild index a32c4c6f6d..3b4be87872 100644 --- a/audio/gogglesmm/gogglesmm.SlackBuild +++ b/audio/gogglesmm/gogglesmm.SlackBuild @@ -21,9 +21,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - PRGNAM=gogglesmm -VERSION=${VERSION:-1.0.12} +VERSION=${VERSION:-1.1.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root.root . find -L . \ @@ -71,15 +70,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --mandir=/usr/man \ - $LIBDIRCONFIG - -make -make install DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |