diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-06-28 01:07:39 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-29 00:36:36 -0500 |
commit | c3cfc58576fec621b248c4aa1d6f35b9c2938a77 (patch) | |
tree | c647666d0283c9b8404b8e6d8bff0cd5a5ebedae /multimedia/dvdauthor/dvdauthor.SlackBuild | |
parent | b91dae738a02712fcbc20165e19599e2b33d6421 (diff) | |
download | slackbuilds-c3cfc58576fec621b248c4aa1d6f35b9c2938a77.tar.gz |
multimedia/dvdauthor: Updated for version 0.6.18.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/dvdauthor/dvdauthor.SlackBuild')
-rw-r--r-- | multimedia/dvdauthor/dvdauthor.SlackBuild | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/multimedia/dvdauthor/dvdauthor.SlackBuild b/multimedia/dvdauthor/dvdauthor.SlackBuild index 0cfaa81eff..31dfa11ba6 100644 --- a/multimedia/dvdauthor/dvdauthor.SlackBuild +++ b/multimedia/dvdauthor/dvdauthor.SlackBuild @@ -22,9 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Maintained as of version 0.6.18 by Niels Horn <niels.horn@gmail.com> +# Revision date: 2010/06/21 + PRGNAM=dvdauthor -VERSION=0.6.14 -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.6.18} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -58,15 +61,20 @@ else LIBDIRSUFFIX="" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Patch for new libpng +patch -p1 < $CWD/png14.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -75,19 +83,17 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - || exit 1 + --build=$ARCH-slackware-linux -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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/install cat $CWD/slack-desc > $PKG/install/slack-desc |