Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
ipmctl.10051
mkSafeC
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mkSafeC of Package ipmctl.10051
#!/bin/bash [ -r CMakeLists.txt ] perl -pi.00 -e ' s<(\$\{CMAKE_THREAD_LIBS_INIT\})><PUBLIC $1>; if (!$f) { $f=1 if (s<(\$\{LIBSAFEC)(_LIBRARIES)><PRIVATE ${1}_LDFLAGS\} ${1}_STATIC${2}>); } s[(CMAKE_INSTALL_)DATAROOT(DIR\})/ipmctl][${1}SYSCONF${2}]; $_ .= " RENAME ipmctl\n" if (m{/logrotate\.d}); ' CMakeLists.txt #diff -u CMakeLists.txt{.00,} || sleep 2 perl -pi.00 -e 's{/usr/share/ipmctl}{/etc}' src/os/ini/ini.c #diff -u src/os/ini/ini.c{.00,} || sleep 4 CONTRIB=$PWD/contrib if [ -d $CONTRIB/include ]; then cd $CONTRIB/src/libsafec* LSC=${PWD##*/} cp -p COPYING $CONTRIB/COPYING.$LSC sleep 2 exit 0 fi mkdir -p contrib/src/patches/libsafec mv libsafec* contrib/src [ -z "$1" ] || tar xvfC "$1" contrib/src/patches/libsafec cd contrib/src/libsafec* for p in ../patches/libsafec/*.patch; do patch -p1 < $p done autoreconf -Wall --install ./configure --disable-shared \ --enable-static --enable-strmax=0x8000 \ --prefix=$CONTRIB \ CFLAGS="$RPM_OPT_FLAGS -fPIC -DHAVE_C99" make $2 make install LSC=${PWD##*/} cp -p COPYING $CONTRIB/COPYING.$LSC [ -d $CONTRIB/include/libsafec ] || exit 1 cd $CONTRIB/.. tar cf /tmp/libsafec-prebuild.tar contrib
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor