Changeset a87727a for npl/system/libmnl
- Timestamp:
- 06/14/21 10:28:36 (4 years ago)
- Branches:
- master
- Children:
- 62266ed
- Parents:
- 31fd825
- Location:
- npl/system/libmnl
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/system/libmnl/libmnl.SlackBuild
r31fd825 ra87727a 2 2 # 3 3 # Automaticly created by importpackage v1.0 4 # Imported from: http ://mirrors.slackware.com/slackware/slackware-current/source/n/libmnl/5 # Created at Thu Jan 19 22:29:07 CET 20174 # Imported from: https://mirrors.slackware.com/slackware/slackware-current/source/n/libmnl/ 5 # Created at ma 14 jun 2021 10:13:11 CEST 6 6 7 7 -
npl/system/libmnl/libmnl.SlackBuild.orig
r31fd825 ra87727a 1 #!/bin/ sh1 #!/bin/bash 2 2 3 3 # Slackware build script for libmnl 4 4 5 # Copyright 2013 Patrick J. Volkerding, Sebeka, Minnesota, USA5 # Copyright 2013, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA 6 6 # Copyright 2013 Robby Workman, Northport, Alabama, USA 7 7 # All rights reserved. … … 24 24 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 25 26 cd $(dirname $0) ; CWD=$(pwd) 27 26 28 PKGNAM=libmnl 27 29 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} 28 BUILD=${BUILD:- 1}30 BUILD=${BUILD:-5} 29 31 30 NUMJOBS=${NUMJOBS:-" -j 7"}32 NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} 31 33 32 34 # Automatically determine the architecture we're building on: 33 35 if [ -z "$ARCH" ]; then 34 36 case "$( uname -m )" in 35 i?86) export ARCH=i 486 ;;37 i?86) export ARCH=i586 ;; 36 38 arm*) export ARCH=arm ;; 37 39 # Unless $ARCH is already set, use uname -m for all other archs: … … 40 42 fi 41 43 42 if [ "$ARCH" = "i486" ]; then 43 SLKCFLAGS="-O2 -march=i486 -mtune=i686" 44 # If the variable PRINT_PACKAGE_NAME is set, then this script will report what 45 # the name of the created package would be, and then exit. This information 46 # could be useful to other scripts. 47 if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then 48 echo "$PKGNAM-$VERSION-$ARCH-$BUILD.txz" 49 exit 0 50 fi 51 52 if [ "$ARCH" = "i586" ]; then 53 SLKCFLAGS="-O2 -march=i586 -mtune=i686" 44 54 LIBDIRSUFFIX="" 45 55 elif [ "$ARCH" = "s390" ]; then … … 54 64 fi 55 65 56 CWD=$(pwd)57 66 TMP=${TMP:-/tmp} 58 67 PKG=$TMP/package-$PKGNAM … … 69 78 find . \ 70 79 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ 71 -exec chmod 755 {} \ ;-o \80 -exec chmod 755 {} \+ -o \ 72 81 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ 73 -exec chmod 644 {} \ ;82 -exec chmod 644 {} \+ 74 83 75 84 CFLAGS="$SLKCFLAGS" \ … … 89 98 90 99 rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la 100 101 # Move the shared library to $PKG/lib${LIBDIRSUFFIX}: 102 mkdir -p $PKG/lib${LIBDIRSUFFIX} 103 ( cd $PKG/usr/lib${LIBDIRSUFFIX} 104 for file in lib*.so.?.* ; do 105 mv $file ../../lib${LIBDIRSUFFIX} 106 ln -sf ../../lib${LIBDIRSUFFIX}/$file . 107 done 108 cp -a lib*.so.? ../../lib${LIBDIRSUFFIX} 109 ) 91 110 92 111 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ -
npl/system/libmnl/libmnl.arch
r31fd825 ra87727a 1 i 4861 i586 -
npl/system/libmnl/libmnl.build
r31fd825 ra87727a 1 6130 1 1 -
npl/system/libmnl/libmnl.md5
r31fd825 ra87727a 1 1 7bbeb8cdb3258793bd937887213cf20e ./libmnl-1.0.4.tar.xz 2 0 77cc18972b64a44069e3d9162b4c4dd./libmnl_dev.pkg3 d 4215f63dc264d45da6589f313c8d8d3./libmnl.pkg4 9b6983326a218565c0697bda6597e841./libmnl.SlackBuild5 d74e5eb29142d155c7845b6dbaa0b2c7./libmnl.SlackBuild.log.gz6 85eced3a2d32e12ee7bc8d344a0f9c2a./libmnl.SlackBuild.orig7 931c8a9169fa3bd3f0d0cf7881dc5e2c./slack-desc2 0e4feb61bacd39542f3acc4ce40c2423 ./libmnl_dev.pkg 3 d23e8e230bf579797d46868b60c54c97 ./libmnl.pkg 4 7202667646db55bf98e7ac6c15835297 ./libmnl.SlackBuild 5 eb3a92dfb701942b95a4523b5d0eae8e ./libmnl.SlackBuild.log.gz 6 00df8bb2b35f0d4f0fb3ad39bef54bdc ./libmnl.SlackBuild.orig 7 b7373248c6cf9d6af5802b2939cc5de0 ./slack-desc -
npl/system/libmnl/libmnl.pkg
-
Property
mode
changed from
100755
to100644
-
Property
mode
changed from
-
npl/system/libmnl/libmnl_dev.arch
r31fd825 ra87727a 1 i 4861 i586 -
npl/system/libmnl/libmnl_dev.build
r31fd825 ra87727a 1 2 1 1 -
npl/system/libmnl/slack-desc
r31fd825 ra87727a 3 3 # Line up the first '|' above the ':' following the base package name, and 4 4 # the '|' on the right side marks the last column you can put a character in. 5 # You must make exactly 11 lines for the formatting to be correct. 5 # You must make exactly 11 lines for the formatting to be correct. It's also 6 6 # customary to leave one space after the ':' except on otherwise blank lines. 7 7 … … 10 10 libmnl: 11 11 libmnl: libmnl is a minimalistic user-space library oriented to Netlink 12 libmnl: developers. 12 libmnl: developers. There are a lot of common tasks in parsing, validating, 13 13 libmnl: constructing of both the Netlink header and TLVs that are repetitive 14 libmnl: and easy to get wrong. 14 libmnl: and easy to get wrong. This library aims to provide simple helpers 15 15 libmnl: that allows you to re-use code and to avoid re-inventing the wheel. 16 16 libmnl:
Note: See TracChangeset
for help on using the changeset viewer.