diff options
Diffstat (limited to 'development/racket/racket.SlackBuild')
-rw-r--r-- | development/racket/racket.SlackBuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/development/racket/racket.SlackBuild b/development/racket/racket.SlackBuild index 58ad75428b4cd..10884c411329e 100644 --- a/development/racket/racket.SlackBuild +++ b/development/racket/racket.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=racket -VERSION=${VERSION:-5.93} -SUFFIX=src # suffix of the sourcepackage +VERSION=${VERSION:-6.0} +SUFFIX=src-unix # suffix of the UNIX sourcepackage BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,7 +78,8 @@ cd src/build --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ - --datadir=/usr/doc/$PRGNAM-$VERSION \ + --datadir=/usr/share/$PRGNAM \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux make @@ -90,10 +91,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cd .. -cp -a README $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# store the Slackware related README and the SlackBuild-script in a separate directory +mkdir $PKG/usr/doc/$PRGNAM-$VERSION/Slackware +cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/Slackware/README +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/Slackware/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |