aboutsummaryrefslogtreecommitdiff
path: root/net/im/silc-toolkit
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-05-21 22:26:51 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-05-21 22:26:51 +0000
commitcccec0d1d89d274a7a2fef3eaaf2a14886f254c7 (patch)
tree4586df8225425fba1e094f3a888362cb0e3643fe /net/im/silc-toolkit
parent9aecc79042ffeb36a0693f85bc9de52d12793c2c (diff)
downloadslackbuilds-cccec0d1d89d274a7a2fef3eaaf2a14886f254c7.tar.gz
slackbuilds-cccec0d1d89d274a7a2fef3eaaf2a14886f254c7.tar.bz2
silc: version fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1238 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/im/silc-toolkit')
-rwxr-xr-xnet/im/silc-toolkit/silc-toolkit.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/im/silc-toolkit/silc-toolkit.SlackBuild b/net/im/silc-toolkit/silc-toolkit.SlackBuild
index b3389287..1fd03b48 100755
--- a/net/im/silc-toolkit/silc-toolkit.SlackBuild
+++ b/net/im/silc-toolkit/silc-toolkit.SlackBuild
@@ -18,7 +18,7 @@
if [ -s "slack-required" ]; then
echo Recomended and required packages for building silc-toolkit are:
- cat silc-toolkit.slack-required | sed -e 's/^/\t/'
+ cat slack-required | sed -e 's/^/\t/'
if [ "$INTERACT" != "no" ]; then
echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
read crap
@@ -53,6 +53,7 @@ fi
RTOOL="wget"
PACKAGE_EXT="bz2"
+PKG_VERSION="`echo $VERSION | sed -e 's/-/_/g'`"
SRC="$PACKAGE-$VERSION.tar.$PACKAGE_EXT"
URL="http://silcnet.org/download/toolkit/sources/$SRC"
@@ -81,7 +82,7 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
patch -p1 < $CWD/$PACKAGE-$VERSION.diff
fi
-./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR --with-docdir=/usr/doc/$PACKAGE-$VERSION
+./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR --with-docdir=/usr/doc/$PACKAGE-$PKG_VERSION
make || exit 32
make DESTDIR=$TMP/package-$PACKAGE install
@@ -116,13 +117,13 @@ silc-toolkit:
EOF
# docs
-mkdir -p usr/doc/$PACKAGE-$VERSION
+mkdir -p usr/doc/$PACKAGE-$PKG_VERSION
for file in BSD CHANGES COPYING CREDITS GPL INSTALL README README.CVS README.MACOSX README.WIN32 TODO;do
- cp $CWD/$file* usr/doc/$PACKAGE-$VERSION/
+ cp $CWD/$file* usr/doc/$PACKAGE-$PKG_VERSION/
done
-makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz
+makepkg -c y -l y $REPOS/$PACKAGE-$PKG_VERSION-$ARCH-$BUILD.tgz
if [ "$CLEANUP" == "yes" ]; then
rm -rf $TMP