diff options
author | core <eroc@linuxmail.org> | 2010-05-11 20:02:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 20:02:12 +0200 |
commit | c6cc9283fd7a73b5a2b8741357d9e658e4913bc6 (patch) | |
tree | 8f7ae1e2926eae233e92ddccbf0f124c5d40fdc4 /system/xf86-video-openchrome | |
parent | 9715c449f2cc65350ed216b029e52dbee538e59c (diff) |
system/xf86-video-openchrome: Added to 12.0 repository
Diffstat (limited to 'system/xf86-video-openchrome')
-rw-r--r-- | system/xf86-video-openchrome/README | 2 | ||||
-rw-r--r-- | system/xf86-video-openchrome/slack-desc | 19 | ||||
-rw-r--r-- | system/xf86-video-openchrome/xf86-video-openchrome.SlackBuild | 64 | ||||
-rw-r--r-- | system/xf86-video-openchrome/xf86-video-openchrome.info | 8 |
4 files changed, 93 insertions, 0 deletions
diff --git a/system/xf86-video-openchrome/README b/system/xf86-video-openchrome/README new file mode 100644 index 0000000000000..ebc9f194b39ff --- /dev/null +++ b/system/xf86-video-openchrome/README @@ -0,0 +1,2 @@ +openChrome is a project for the development of free and +open source software for the VIA UniChrome video chipsets. diff --git a/system/xf86-video-openchrome/slack-desc b/system/xf86-video-openchrome/slack-desc new file mode 100644 index 0000000000000..bf64a33c30e76 --- /dev/null +++ b/system/xf86-video-openchrome/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler-----------------------------------------| +xf86-video-openchrome: openchrome (driver for VIA UniChrome video chipsets) +xf86-video-openchrome: +xf86-video-openchrome: openChrome is a project for the development of free +xf86-video-openchrome: and open-source software for the VIA UniChrome video +xf86-video-openchrome: chipsets. +xf86-video-openchrome: +xf86-video-openchrome: Homepage: http://www.openchrome.org +xf86-video-openchrome: +xf86-video-openchrome: +xf86-video-openchrome: +xf86-video-openchrome: diff --git a/system/xf86-video-openchrome/xf86-video-openchrome.SlackBuild b/system/xf86-video-openchrome/xf86-video-openchrome.SlackBuild new file mode 100644 index 0000000000000..7c49d024e4a24 --- /dev/null +++ b/system/xf86-video-openchrome/xf86-video-openchrome.SlackBuild @@ -0,0 +1,64 @@ +#!/bin/sh + +# Slackware build script for xf86-video-openchrome + +# Written by core (eroc@linuxmail.org) + +PRGNAM=xf86-video-openchrome +VERSION=${VERSION:-0.2.901} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --enable-shared=yes \ + --enable-static=no + +make +make install-strip DESTDIR=$PKG + +( 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION +# Since 10/18/07 there's a "release-notes-0.3.0" file, the "0.3.0" is the version +# so - im sure ;) - it's gonna change someday. +cp -a release_notes-* $PKG/usr/doc/$PRGNAM-$VERSION || true +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/system/xf86-video-openchrome/xf86-video-openchrome.info b/system/xf86-video-openchrome/xf86-video-openchrome.info new file mode 100644 index 0000000000000..aca202a44a336 --- /dev/null +++ b/system/xf86-video-openchrome/xf86-video-openchrome.info @@ -0,0 +1,8 @@ +PRGNAM="xf86-video-openchrome" +VERSION="0.2.901" +HOMEPAGE="http://www.openchrome.org" +DOWNLOAD="http://www.openchrome.org/releases/xf86-video-openchrome-0.2.901.tar.bz2" +MD5SUM="96576fcf874d8ee05de31dd7cf2c5f92" +MAINTAINER="core" +EMAIL="eroc@linuxmail.org" +APPROVED="David Somero" |