Browse Source

a/libcgroup: Upgraded to libcgroup-0.42.2.

current-20200608
Damien Goutte-Gattat 5 months ago
parent
commit
c207504b0b
3 changed files with 8 additions and 12 deletions
  1. +0
    -1
      a/libcgroup/libcgroup-0.41.g62f7665.tar.gz.sha256
  2. +1
    -0
      a/libcgroup/libcgroup-0.42.2.tar.bz2.sha256
  3. +7
    -11
      a/libcgroup/libcgroup.SlackBuild

+ 0
- 1
a/libcgroup/libcgroup-0.41.g62f7665.tar.gz.sha256 View File

@@ -1 +0,0 @@
fd0607e6479e47c69b189ffccd4a9ea1a5e61482f6dce43348015f2747b6da9c libcgroup-0.41.g62f7665.tar.gz

+ 1
- 0
a/libcgroup/libcgroup-0.42.2.tar.bz2.sha256 View File

@@ -0,0 +1 @@
18939381324d418e11be4f5fdca37b01652c18917bfaf1f6b0c505f157e18d07 libcgroup-0.42.2.tar.bz2

+ 7
- 11
a/libcgroup/libcgroup.SlackBuild View File

@@ -32,17 +32,16 @@

# Source package infos
NAMESRC=${NAMESRC:-libcgroup}
VERSION=${VERSION:-0.41.g62f7665}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
REPO=${REPO:-https://git.code.sf.net/p/libcg/libcg}
COMMIT=${COMMIT:-62f76650db84c0a25f76ece3a79d9d16a1e9f931}
VERSION=${VERSION:-0.42.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-https://github.com/libcgroup/libcgroup/releases/download/v$VERSION/$ARCHIVE}

# Build infos
NAMEPKG=${NAMEPKG:-libcgroup}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
NAME=$NAMEPKG-$VERSION
JOBS=${JOBS:-1}

# Directories
TMP=${TMP:-/tmp}
@@ -79,13 +78,11 @@ esac

# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
git clone $REPO libcgroup
(cd libcgroup
git archive --prefix=$NAME/ $COMMIT | gzip -c > ../$ARCHIVE
)
rm -rf libcgroup
wget -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)

# Compile
cd $TMP
@@ -96,7 +93,6 @@ cd $NAME
patch -p 1 < $CWD/libcgroup-0.41-fix-redhatisms.diff
# Fix pathname of config script
patch -p 1 < $CWD/libcgroup-0.41-fix-conf-name.diff
autoreconf -vif
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \


Loading…
Cancel
Save