mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
system/hdapsd: Updated for version 20090328
This commit is contained in:
parent
15e66c3852
commit
f1fd6796d5
2 changed files with 8 additions and 9 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue