mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
cjs: Port to meson.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
e24132afcc
commit
0ac4d20fad
1 changed files with 16 additions and 12 deletions
|
@ -74,19 +74,23 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
mkdir build
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
cd build
|
||||||
./autogen.sh \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
--prefix=/usr \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
meson .. \
|
||||||
--sysconfdir=/etc \
|
--buildtype=release \
|
||||||
--localstatedir=/var \
|
--infodir=/usr/info \
|
||||||
--mandir=/usr/man \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
--localstatedir=/var \
|
||||||
--build=$ARCH-slackware-linux
|
--mandir=/usr/man \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
-Dinstalled_tests=false
|
||||||
|
ninja
|
||||||
|
DESTDIR=$PKG ninja install
|
||||||
|
cd ..
|
||||||
|
|
||||||
make
|
|
||||||
make install DESTDIR=$PKG
|
|
||||||
|
|
||||||
# Don't ship .la files:
|
# Don't ship .la files:
|
||||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||||
|
|
Loading…
Reference in a new issue