system/xf86-video-openchrome: Added to 12.0 repository

This commit is contained in:
core 2010-05-11 20:02:12 +02:00 committed by David Somero
parent 9715c449f2
commit c6cc9283fd
4 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,2 @@
openChrome is a project for the development of free and
open source software for the VIA UniChrome video chipsets.

View file

@ -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:

View file

@ -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

View file

@ -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"