diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-05-13 00:37:39 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:37:39 +0200 |
commit | 608dafae2e215562a1b7c20353535d07834f44f7 (patch) | |
tree | 0c88d7101d417f02b55913ff88d52d216a7289d5 /network | |
parent | 5787c730062d2ae4c25c1ca7797d1e7f6fa33484 (diff) | |
download | slackbuilds-608dafae2e215562a1b7c20353535d07834f44f7.tar.gz |
network/nss-mdns: Updated for version 0.10
Diffstat (limited to 'network')
-rw-r--r-- | network/nss-mdns/nss-mdns.SlackBuild | 17 | ||||
-rw-r--r-- | network/nss-mdns/nss-mdns.info | 2 | ||||
-rw-r--r-- | network/nss-mdns/slack-desc | 8 |
3 files changed, 20 insertions, 7 deletions
diff --git a/network/nss-mdns/nss-mdns.SlackBuild b/network/nss-mdns/nss-mdns.SlackBuild index 29c5ba207b..bf8ef12c44 100644 --- a/network/nss-mdns/nss-mdns.SlackBuild +++ b/network/nss-mdns/nss-mdns.SlackBuild @@ -8,6 +8,7 @@ VERSION=0.10 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -15,8 +16,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e # Exit on most errors @@ -48,6 +54,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/ \ + --libdir=/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-legacy @@ -56,12 +63,8 @@ make make install DESTDIR=$PKG ( cd $PKG - find . \ - | xargs file \ - | grep "shared object" \ - | grep ELF \ - | cut -f 1 -d : \ - | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -79,4 +82,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/nss-mdns/nss-mdns.info b/network/nss-mdns/nss-mdns.info index c8605b0c79..a2dc298487 100644 --- a/network/nss-mdns/nss-mdns.info +++ b/network/nss-mdns/nss-mdns.info @@ -2,7 +2,9 @@ PRGNAM="nss-mdns" VERSION="0.10" HOMEPAGE="http://0pointer.de/lennart/projects/nss-mdns/" DOWNLOAD="http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-0.10.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="03938f17646efbb50aa70ba5f99f51d7" +MD5SUM_x86_64="" MAINTAINER="Menno Duursma" EMAIL="druiloor@zonnet.nl" APPROVED="rworkman,BP{k}" diff --git a/network/nss-mdns/slack-desc b/network/nss-mdns/slack-desc index de57014dff..0722dad437 100644 --- a/network/nss-mdns/slack-desc +++ b/network/nss-mdns/slack-desc @@ -1,3 +1,11 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| nss-mdns: NSS-mDNS (Multicast DNS host name resolution NSS module) nss-mdns: nss-mdns: nss-mdns is a plugin for the GNU Name Service Switch (NSS) |