wok-4.x annotate xorg-xf86-video-neomagic/receipt @ rev 7187

Fixed grep to remove and replace soft link to busybox in pre_install and post_remove functions.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 08 22:43:35 2010 +0000 (2010-11-08)
parents 92797fee349a
children c514cc4854d8
rev   line source
domcox@1131 1 # SliTaz package receipt.
domcox@1131 2
domcox@1131 3 PACKAGE="xorg-xf86-video-neomagic"
domcox@6086 4 VERSION="1.2.5"
domcox@1131 5 CATEGORY="x-window"
domcox@1131 6 SHORT_DESC="Xorg driver for neomagic cards"
domcox@1131 7 MAINTAINER="domcox@users.sourceforge.net"
domcox@1131 8 DEPENDS="xorg xorg-server"
domcox@1131 9 BUILD_DEPENDS="xorg-server-dev xorg-fontsproto xorg-randrproto xorg-videoproto xorg-xextproto xorg-xf86dgaproto"
domcox@1131 10 SOURCE="xf86-video-neomagic"
gokhlayeh@6993 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
domcox@1131 12 WEB_SITE="http://www.x.org"
domcox@1131 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
jozee@5592 14 TAGS="xorg display"
domcox@1131 15
domcox@1131 16 # Rules to configure and make the package.
domcox@1131 17 compile_rules()
domcox@1131 18 {
domcox@1131 19 cd $src
domcox@1131 20 ./configure \
domcox@1131 21 --prefix=/usr \
domcox@1131 22 --sysconfdir=/etc \
domcox@1131 23 --mandir=/usr/share/man \
domcox@1131 24 --localstatedir=/var \
domcox@1131 25 --with-xorg-module-dir=/usr/lib/X11/modules \
domcox@1131 26 $CONFIGURE_ARGS
domcox@1131 27 make
domcox@1131 28 make DESTDIR=$PWD/_pkg install
domcox@1131 29 }
domcox@1131 30
domcox@1131 31 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@1131 32 genpkg_rules()
domcox@1131 33 {
domcox@1131 34 mkdir -p $fs/usr/lib/X11/modules/drivers
domcox@1131 35 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
domcox@1131 36 $fs/usr/lib/X11/modules/drivers/
domcox@1131 37
domcox@1131 38 }
domcox@1131 39