diff options
author | alkos333 <me@alkso333.net> | 2010-05-13 00:40:35 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:40:35 +0200 |
commit | f1fd6796d55b400a48b386be21cca98353b424c1 (patch) | |
tree | 7261c6f0ae48ae03371a09803942aca86ec16c0e /system | |
parent | 15e66c3852911b34c554b9f5167008040e4f4d32 (diff) | |
download | slackbuilds-f1fd6796d55b400a48b386be21cca98353b424c1.tar.gz |
system/hdapsd: Updated for version 20090328
Diffstat (limited to 'system')
-rw-r--r-- | system/hdapsd/hdapsd.SlackBuild | 13 | ||||
-rw-r--r-- | system/hdapsd/hdapsd.info | 4 |
2 files changed, 8 insertions, 9 deletions
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" |