mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libcifpp: Updated for version 3.0.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b3fe415b1a
commit
bf8cac8e5d
2 changed files with 16 additions and 17 deletions
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=libcifpp
|
PRGNAM=libcifpp
|
||||||
VERSION=${VERSION:-1.0.0}
|
VERSION=${VERSION:-3.0.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -79,19 +79,18 @@ 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 -p build
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
cd build
|
||||||
./configure \
|
cmake \
|
||||||
--prefix=/usr \
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||||
--sysconfdir=/etc \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
--localstatedir=/var \
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
||||||
--mandir=/usr/man \
|
-DMAN_INSTALL_DIR=/usr/man \
|
||||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
-DCMAKE_BUILD_TYPE=Release ..
|
||||||
--build=$ARCH-slackware-linux
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
make
|
cd ..
|
||||||
make install libdir=$PKG/usr/lib${LIBDIRSUFFIX}
|
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="libcifpp"
|
PRGNAM="libcifpp"
|
||||||
VERSION="1.0.0"
|
VERSION="3.0.0"
|
||||||
HOMEPAGE="https://github.com/PDB-REDO/libcifpp"
|
HOMEPAGE="https://github.com/PDB-REDO/libcifpp"
|
||||||
DOWNLOAD="https://github.com/PDB-REDO/libcifpp/archive/v1.0.0/libcifpp-1.0.0.tar.gz"
|
DOWNLOAD="https://github.com/PDB-REDO/libcifpp/archive/v3.0.0/libcifpp-3.0.0.tar.gz"
|
||||||
MD5SUM="434cc0733317feec846c196f008bc719"
|
MD5SUM="82ca063ecb81b747527e8b76f1ba45ec"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue