mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-28 09:58:11 +01:00
json-c: Upgraded to 0.12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
3ce72e263b
commit
3dbf74d2ff
1 changed files with 4 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
||||||
# Modified by Willy Sudiarto Raharjo for CSB Project
|
# Modified by Willy Sudiarto Raharjo for CSB Project
|
||||||
|
|
||||||
PRGNAM=json-c
|
PRGNAM=json-c
|
||||||
VERSION=${VERSION:-0.11}
|
VERSION=${VERSION:-0.12}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ 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" \
|
CFLAGS="$SLKCFLAGS -Wno-error" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -71,8 +71,7 @@ make -j1
|
||||||
make install-strip DESTDIR=$PKG
|
make install-strip DESTDIR=$PKG
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog INSTALL README* doc/html \
|
cp -a AUTHORS COPYING ChangeLog INSTALL README* doc/html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
Loading…
Reference in a new issue