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/hdapsd/hdapsd.SlackBuild | |
parent | 15e66c3852911b34c554b9f5167008040e4f4d32 (diff) | |
download | slackbuilds-f1fd6796d55b400a48b386be21cca98353b424c1.tar.gz |
system/hdapsd: Updated for version 20090328
Diffstat (limited to 'system/hdapsd/hdapsd.SlackBuild')
-rw-r--r-- | system/hdapsd/hdapsd.SlackBuild | 13 |
1 files changed, 5 insertions, 8 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} |