mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
libpeas: Upgraded to 1.24.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
parent
0f7c8e7692
commit
6a5ebb9dfb
1 changed files with 19 additions and 20 deletions
39
deps/libpeas/libpeas.SlackBuild
vendored
39
deps/libpeas/libpeas.SlackBuild
vendored
|
@ -24,8 +24,8 @@
|
|||
# Modified by Willy Sudiarto Raharjo for MSB Project
|
||||
|
||||
PRGNAM=libpeas
|
||||
VERSION=${VERSION:-1.22.0}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-1.24.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_msb}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -36,7 +36,7 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
wget -c https://download.gnome.org/sources/$PRGNAM/1.22/$PRGNAM-$VERSION.tar.xz
|
||||
wget -c http://ftp.acc.umu.se/pub/GNOME/sources/$PRGNAM/1.24//$PRGNAM-$VERSION.tar.xz
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/msb}
|
||||
|
@ -60,7 +60,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
DOCS="AUTHORS COPYING ChangeLog NEWS README"
|
||||
DOCS="AUTHORS COPYING NEWS README"
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -77,22 +77,21 @@ 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 {} \;
|
||||
|
||||
sed -i -e 's|"lua5.1 |"lua |' -e 's|with_lua51=lua5.1|with_lua51=lua|' configure
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--enable-gtk \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
mkdir build
|
||||
cd build
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
meson .. \
|
||||
--buildtype=release \
|
||||
--infodir=/usr/info \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
ninja
|
||||
DESTDIR=$PKG ninja install
|
||||
cd ..
|
||||
|
||||
# Don't ship .la files:
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
|
Loading…
Reference in a new issue