wok-next view xorg-xdriinfo/receipt @ rev 6914

Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 23:49:16 2010 +0000 (2010-10-21)
parents 413b0174114a
children 07ae722ec64e
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xdriinfo"
4 SOURCE="xdriinfo"
5 VERSION="1.0.2"
6 CATEGORY="x-window"
7 SHORT_DESC="Query configuration information of DRI drivers"
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="xorg-libX11"
10 SUGGESTED="nvidia"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="http://xorg.mirror.solnet.ch/pub/individual/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }