wok-6.x view xfree86-Xvesa/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents 11b6c0dd4a0c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfree86-Xvesa"
4 VERSION="4.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xvesa Tiny Xserver from XFree86."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.xfree86.org/"
9 DEPENDS="zlib"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 # Download and untar all tiny Xserver.
15 if [ ! -f "$SOURCES_REPOSITORY/Xtinyx.tgz" ] ; then
16 cd $SOURCES_REPOSITORY
17 echo "Downloading Xtinyx servers..."
18 wget http://ftp.xfree86.org/pub/XFree86/$VERSION/binaries/Linux-ix86-glibc23/Xtinyx.tgz
19 cd $WOK/$PACKAGE
20 fi
21 if [ ! -d "bin" ] ; then
22 echo "Untaring XFree86 precompiled package..."
23 tar xzf $SOURCES_REPOSITORY/Xtinyx.tgz -C .
24 fi
25 # Do the pkg fs.
26 mkdir -p $fs/usr/bin
27 cp bin/Xvesa $fs/usr/bin
28 strip $fs/usr/bin/Xvesa
29 chmod 4711 $fs/usr/bin/Xvesa
30 # Remove bin dir.
31 rm -rf bin
32 }