wok annotate xorg-libfontenc/receipt @ rev 12679
centerim: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 15:12:54 2012 +0200 (2012-05-01) |
parents | e5ae411e1d8c |
children | 3e3e15d924c9 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libfontenc" |
pankso@12513 | 4 VERSION="1.1.1" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 SOURCE="libfontenc" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 10 WEB_SITE="http://www.x.org/" |
pankso@20 | 11 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 12 |
pankso@12513 | 13 DEPENDS="zlib" |
pankso@12513 | 14 BUILD_DEPENDS="zlib-dev xorg-util-macros xorg-xproto" |
pankso@12513 | 15 |
pankso@20 | 16 # Rules to configure and make the package. |
pankso@20 | 17 compile_rules() |
pankso@20 | 18 { |
pankso@12513 | 19 cd $src |
pankso@12513 | 20 ./configure \ |
pankso@12513 | 21 --sysconfdir=/etc \ |
pankso@12513 | 22 --mandir=/usr/share/man \ |
pankso@12513 | 23 --localstatedir=/var \ |
pankso@12513 | 24 $CONFIGURE_ARGS && |
pankso@12513 | 25 make && make install |
pankso@20 | 26 } |
pankso@20 | 27 |
pankso@20 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 29 genpkg_rules() |
pankso@20 | 30 { |
pankso@20 | 31 mkdir -p $fs/usr/lib |
pankso@12513 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 33 } |