From f1fd6796d55b400a48b386be21cca98353b424c1 Mon Sep 17 00:00:00 2001 From: alkos333 Date: Thu, 13 May 2010 00:40:35 +0200 Subject: system/hdapsd: Updated for version 20090328 --- system/hdapsd/hdapsd.SlackBuild | 13 +++++-------- system/hdapsd/hdapsd.info | 4 +++- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'system/hdapsd') diff --git a/system/hdapsd/hdapsd.SlackBuild b/system/hdapsd/hdapsd.SlackBuild index 5922b826b9..adef845d16 100644 --- a/system/hdapsd/hdapsd.SlackBuild +++ b/system/hdapsd/hdapsd.SlackBuild @@ -39,10 +39,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 @@ -62,6 +65,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -89,13 +93,6 @@ cat $CWD/hdapsd.conf > $PKG/etc/hdapsd.conf.new cat $CWD/rc.hdapsd > $PKG/etc/rc.d/rc.hdapsd.new chmod 0755 $PKG/etc/rc.d/rc.hdapsd.new -# Put udev rules in the right place and prefix them with a number -# 51 is more or less arbitrary, but should be fine -# If anyone has a link to what other distributions are doing, let us know -#mkdir -p $PKG/lib -#mv $PKG/etc/udev $PKG/lib -#mv $PKG/lib/udev/rules.d/hdapsd.rules $PKG/lib/udev/rules.d/51-hdapsd.rules - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION # ChangeLog NEWS README are empty cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION @@ -108,4 +105,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/system/hdapsd/hdapsd.info b/system/hdapsd/hdapsd.info index 9e681fd04e..39090d54b6 100644 --- a/system/hdapsd/hdapsd.info +++ b/system/hdapsd/hdapsd.info @@ -1,8 +1,10 @@ PRGNAM="hdapsd" VERSION="20090328" HOMEPAGE="http://repo.or.cz/w/hdapsd.git" -DOWNLOAD="http://slackbuilds.org/sources/12.2/hdapsd-20090328.tar.bz2" +DOWNLOAD="http://slackbuilds.org/sources/13.0/hdapsd-20090328.tar.bz2" MD5SUM="1f70f3cc8f1d89dfa8b166f6dc4158a8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="alkos333" EMAIL="me@alkso333.net" APPROVED="rworkman" -- cgit v1.2.3