wok diff xorg-xf86dgaproto/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | 07ae722ec64e |
children | 5ddb4d29b420 |
line diff
1.1 --- a/xorg-xf86dgaproto/receipt Sun Oct 31 00:13:37 2010 +0200 1.2 +++ b/xorg-xf86dgaproto/receipt Fri May 31 00:58:07 2013 +0000 1.3 @@ -3,27 +3,33 @@ 1.4 PACKAGE="xorg-xf86dgaproto" 1.5 VERSION="2.1" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Xorg server protocol." 1.8 +SHORT_DESC="XF86DGA extension headers" 1.9 MAINTAINER="pankso@slitaz.org" 1.10 -SOURCE="xf86dgaproto" 1.11 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.12 +LICENSE="other" 1.13 WEB_SITE="http://www.x.org/" 1.14 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2" 1.15 WGET_URL="$XORG_MIRROR/proto/$TARBALL" 1.16 1.17 +DEPENDS="xorg-util-macros" 1.18 +# /usr/include/X11/extensions/xf86dga.h: #include <X11/extensions/Xxf86dga.h> ? 1.19 +BUILD_DEPENDS="xorg-util-macros" 1.20 + 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - cd $src 1.25 - ./configure --prefix=/usr --sysconfdir=/etc \ 1.26 - --mandir=/usr/share/man --localstatedir=/var \ 1.27 - $CONFIGURE_ARGS 1.28 - make 1.29 - make DESTDIR=$PWD/_pkg install 1.30 + ./configure \ 1.31 + --sysconfdir=/etc \ 1.32 + --localstatedir=/var \ 1.33 + $CONFIGURE_ARGS && 1.34 + make && 1.35 + make install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - cp -a $_pkg/* $fs 1.42 + mkdir -p $fs/usr/share/licenses 1.43 + cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt 1.44 + 1.45 + cp -a $install/* $fs 1.46 } 1.47 -