diff options
author | Andrew Clemons <aclemons@runbox.no> | 2017-08-06 21:22:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-12 06:58:12 +0700 |
commit | 04c181e94912067040765a512378e51e0cd1e553 (patch) | |
tree | 5c6d24948bb535bc3a3b66609b8dcfcb429b1ec9 /libraries | |
parent | a9b1e683e210375553a26058a02c6751dc2071e7 (diff) | |
download | slackbuilds-04c181e94912067040765a512378e51e0cd1e553.tar.gz |
libraries/libsmbios: Updated to include headers.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libsmbios/libsmbios.SlackBuild | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/libraries/libsmbios/libsmbios.SlackBuild b/libraries/libsmbios/libsmbios.SlackBuild index 36109920b4..981332d69f 100644 --- a/libraries/libsmbios/libsmbios.SlackBuild +++ b/libraries/libsmbios/libsmbios.SlackBuild @@ -1,8 +1,29 @@ #!/bin/sh +# Slackware build script for libsmbios + +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + PRGNAM=libsmbios VERSION=${VERSION:-2.3.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -63,11 +84,16 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +install -m755 -d $PKG/usr/include +cp -a src/include/* $PKG/usr/include/ +cp -a out/public-include/* $PKG/usr/include/ + # Don't clobber the config file mv $PKG/etc/libsmbios/logging.conf $PKG/etc/libsmbios/logging.conf.new # Remove the ick, er, yum stuff rm -rf $PKG/etc/yum +rm -rf $PKG/usr/lib/yum-plugins 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 |