diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-04-28 01:51:48 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2007-04-28 01:51:48 +0000 |
commit | 7111aca00689a46456db2e74900ea33ee43218f4 (patch) | |
tree | 3045fe3aa111d13f9dc418e697ce2fc8dc437882 /net/libs/courier-authlib/courier-authlib.SlackBuild | |
parent | 03fe8845f78fa42e1734b70cb904441d6eb43960 (diff) | |
download | slackbuilds-7111aca00689a46456db2e74900ea33ee43218f4.tar.gz slackbuilds-7111aca00689a46456db2e74900ea33ee43218f4.tar.bz2 |
courier-authlib: update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1190 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/libs/courier-authlib/courier-authlib.SlackBuild')
-rwxr-xr-x | net/libs/courier-authlib/courier-authlib.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/libs/courier-authlib/courier-authlib.SlackBuild b/net/libs/courier-authlib/courier-authlib.SlackBuild index c43dd438..03d8c93d 100755 --- a/net/libs/courier-authlib/courier-authlib.SlackBuild +++ b/net/libs/courier-authlib/courier-authlib.SlackBuild @@ -38,7 +38,7 @@ fi # default settings PACKAGE="courier-authlib" -VERSION=${VERION:=0.58} +VERSION=${VERION:=0.59.3} ARCH=${ARCH:=i486} BUILD=${BUILD:=1rha} TMP=${TMP:=/tmp} @@ -84,9 +84,16 @@ cd $TMP tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR cd $PACKAGE-$VERSION + ./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR || exit $ERROR_CONF + make || exit $ERROR_MAKE make DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL +make install-migrate DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL +make install-configure DESTDIR=$TMP/package-$PACKAGE install || exit $ERROR_INSTALL + +mkdir -p $TMP/package-$PACKAGE/etc/rc.d +cp $CWD/rc.courier-authlib.new $TMP/package-$PACKAGE/etc/rc.d CWD="`pwd`" @@ -125,7 +132,8 @@ for file in AUTHORS COPYING COPYING.GPL ChangeLog INSTALL INSTALL.html NEWS NEWS cp $CWD/$file* usr/doc/$PACKAGE-$VERSION/ done -echo 'chroot . /sbin/ldconfig' > install/doinst.sh +echo '( chroot . /sbin/ldconfig )' > install/doinst.sh +echo '( if [ ! -f "etc/rc.d/rc.courier-authlib" ]; then mv etc/rc.d/rc.courier-authlib.new etc/rc.d/rc.courier-authlib ; fi )' >> install/doinst.sh makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG |