wok diff xorg-fontcacheproto/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-fontcacheproto/receipt Sun Oct 31 00:13:37 2010 +0200 1.2 +++ b/xorg-fontcacheproto/receipt Fri May 31 00:58:07 2013 +0000 1.3 @@ -3,27 +3,32 @@ 1.4 PACKAGE="xorg-fontcacheproto" 1.5 VERSION="0.1.3" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Xorg server protocol." 1.8 +SHORT_DESC="Fontcache extension headers" 1.9 MAINTAINER="pankso@slitaz.org" 1.10 -SOURCE="fontcacheproto" 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 xorg-libX11-dev" 1.18 +BUILD_DEPENDS="xorg-util-macros" 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 - ./configure --prefix=/usr --sysconfdir=/etc \ 1.25 - --mandir=/usr/share/man --localstatedir=/var \ 1.26 - $CONFIGURE_ARGS 1.27 - make 1.28 - make DESTDIR=$PWD/_pkg install 1.29 + ./configure \ 1.30 + --sysconfdir=/etc \ 1.31 + --localstatedir=/var \ 1.32 + $CONFIGURE_ARGS && 1.33 + make && 1.34 + make install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - cp -a $_pkg/* $fs 1.41 + mkdir -p $fs/usr/share/licenses 1.42 + cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt 1.43 + 1.44 + cp -a $install/* $fs 1.45 } 1.46 -