wok-next annotate xorg-libXdamage/receipt @ rev 14272
njconnect: tarball has bz2 format, not xz...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 05 13:41:43 2013 +0200 (2013-04-05) |
parents | c514cc4854d8 |
children | 3e3e15d924c9 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXdamage" |
gokhlayeh@6993 | 4 VERSION="1.1.3" |
pankso@87 | 5 CATEGORY="x-window" |
pankso@87 | 6 SHORT_DESC="Xorg damage extension." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-libXfixes" |
slaxemulator@8029 | 9 BUILD_DEPENDS="pkg-config xorg-damageproto xorg-libXfixes-dev" |
pankso@87 | 10 SOURCE="libXdamage" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 12 WEB_SITE="http://www.x.org/" |
pankso@87 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 14 |
pankso@87 | 15 # Rules to configure and make the package. |
pankso@87 | 16 compile_rules() |
pankso@87 | 17 { |
pankso@3012 | 18 cd $src |
pankso@3012 | 19 ./configure \ |
pankso@3012 | 20 --prefix=/usr --sysconfdir=/etc \ |
pankso@3012 | 21 --mandir=/usr/share/man --localstatedir=/var \ |
pankso@3012 | 22 $CONFIGURE_ARGS |
pankso@3012 | 23 make |
pankso@3012 | 24 make DESTDIR=$PWD/_pkg install |
pankso@87 | 25 } |
pankso@87 | 26 |
pankso@87 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 28 genpkg_rules() |
pankso@87 | 29 { |
pankso@87 | 30 mkdir -p $fs/usr/lib |
pankso@87 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 32 } |