mirror of
git://slackware.nl/current.git
synced 2024-12-29 10:25:00 +01:00
75a4a592e5
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
48 lines
1.6 KiB
Bash
Executable file
48 lines
1.6 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
# armel/build
|
|
# Check package dependencies, set metadata and launch
|
|
# package build script.
|
|
# by Stuart Winter <stuart@armedslack.org>
|
|
#
|
|
source /usr/share/slackdev/buildkit.sh
|
|
|
|
# Package metadata:
|
|
export PKGNAM=linuxdoc-tools
|
|
export VERSION=${VERSION:-0.9.66}
|
|
export PKGARCH=${PKGARCH:-arm}
|
|
export BUILD=${BUILD:-4}
|
|
export PKGSERIES=${PKGSERIES:-ap}
|
|
export SLACKPACKAGE=$PKGNAM-$VERSION-$PKGARCH-$BUILD.tgz
|
|
export PKGEXT=${PKGEXT:-tgz}
|
|
|
|
# Ensure base ARM packages are installed first:
|
|
slackbasedeps
|
|
|
|
# Ensure $PKGNAM isn't already installed:
|
|
slackfailpkgdeps $PKGNAM || removepkg $PKGNAM
|
|
|
|
# Ensure specific build dependencies - libraries and development tools.
|
|
# There are many more dependencies but these are the core ones I picked out
|
|
# as I was building the software included within this package.
|
|
#
|
|
#slackcheckpkgdeps libxml2 || installpkg $PKGSTORE/l/libxml2-*.tgz
|
|
# to unpack some SRPMs:
|
|
#slackcheckpkgdeps rpm || installpkg $PKGSTORE/ap/rpm-*.tgz
|
|
# for OpenJade:
|
|
#slackcheckpkgdeps tetex || installpkg $PKGSTORE/t/tetex-[0-9]*.tgz
|
|
# for AsciiDoc:
|
|
#slackcheckpkgdeps python || installpkg $PKGSTORE/d/python-[0-9]*.tgz
|
|
# Ensure the packages are installed; exit if not.
|
|
#slackcheckpkgdeps python,libxml2,rpm,tetex || exit 99
|
|
|
|
# Stop daemons/processes which tend to modify the contents of the filesystem:
|
|
altertrackprep
|
|
|
|
# Launch the package build script:
|
|
BUILDLOG=$( basename $SLACKPACKAGE .tgz ).build.log
|
|
# ( ./$PKGNAM.SlackBuild ) >& /dev/stdout | tee $BUILDLOG
|
|
( ./trackbuild.$PKGNAM ) >& /dev/stdout | tee $BUILDLOG
|
|
|
|
# Compress the build log:
|
|
bzip2 -9fvz $BUILDLOG
|