diff options
author | Michales Michaloudes <korgie@gmail.com> | 2020-04-17 21:42:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:00:20 +0700 |
commit | 62b3f6bd5858b6dda70f65cd44c30d0b4f0cd0f6 (patch) | |
tree | 0939dc27224e3b379f61d08fbc0e2a62c97dd2e1 /libraries/libinstpatch | |
parent | e971a7a48314605d5468a41363ea6ee1708db500 (diff) |
libraries/libinstpatch: Updated for version 1.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libinstpatch')
-rw-r--r-- | libraries/libinstpatch/libinstpatch.SlackBuild | 36 | ||||
-rw-r--r-- | libraries/libinstpatch/libinstpatch.info | 6 |
2 files changed, 17 insertions, 25 deletions
diff --git a/libraries/libinstpatch/libinstpatch.SlackBuild b/libraries/libinstpatch/libinstpatch.SlackBuild index 01705e3e252e0..72f1e900ed7b0 100644 --- a/libraries/libinstpatch/libinstpatch.SlackBuild +++ b/libraries/libinstpatch/libinstpatch.SlackBuild @@ -3,12 +3,12 @@ # Written by Michales Michaloudes korgie@gmail.com PRGNAM=libinstpatch -VERSION=${VERSION:-1.0.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.1.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -18,8 +18,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -42,23 +42,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -LDFLAGS="-lgobject-2.0 -lglib-2.0" \ -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr make make install DESTDIR=$PKG @@ -67,7 +59,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - ABOUT-NLS CVS-HOWTO INSTALL NEWS AUTHORS COPYING ChangeLog README \ + ABOUT-NLS AUTHORS COPYING ChangeLog README.md TODO.tasks \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/libinstpatch/libinstpatch.info b/libraries/libinstpatch/libinstpatch.info index ab654aec86d68..9fe279a2eb76a 100644 --- a/libraries/libinstpatch/libinstpatch.info +++ b/libraries/libinstpatch/libinstpatch.info @@ -1,8 +1,8 @@ PRGNAM="libinstpatch" -VERSION="1.0.0" +VERSION="1.1.2" HOMEPAGE="http://swamiproject.org" -DOWNLOAD="http://downloads.sourceforge.net/swami/libinstpatch-1.0.0.tar.gz" -MD5SUM="eca9c505fd0c47fd1f59d40598e8eb63" +DOWNLOAD="https://github.com/swami/libinstpatch/archive/v1.1.2/libinstpatch-1.1.2.tar.gz" +MD5SUM="1987bec70432b308ad161e0618c51160" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |