wok-stable annotate expat/receipt @ rev 7160
Added libdrm, libdrm-intel, libdrm-nouveau, and libdrm-radeon to libdrm-dev depends. Needed for the .pc files to work with pkg-config.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 02:22:12 2010 +0000 (2010-11-07) |
parents | |
children | 02bbaa9d12ba |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
pankso@34 | 4 VERSION="2.0.1" |
pankso@34 | 5 CATEGORY="x-window" |
pankso@34 | 6 SHORT_DESC="XML parsing library." |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@34 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@34 | 9 WEB_SITE="http://expat.sourceforge.net/" |
pankso@34 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@34 | 11 |
pankso@34 | 12 # Rules to configure and make the package. |
pankso@34 | 13 compile_rules() |
pankso@34 | 14 { |
pankso@34 | 15 cd $src |
pankso@34 | 16 ./configure --sysconfdir=/etc --prefix=/usr \ |
pankso@34 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@34 | 18 make |
pankso@34 | 19 make DESTDIR=$PWD/_pkg install |
pankso@34 | 20 } |
pankso@34 | 21 |
pankso@34 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 23 genpkg_rules() |
pankso@34 | 24 { |
pankso@34 | 25 mkdir -p $fs/usr/lib $fs/usr/bin |
pankso@34 | 26 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@34 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@34 | 28 strip -s $fs/usr/bin/* |
pankso@34 | 29 strip -s $fs/usr/lib/* |
pankso@34 | 30 # expat so.0 symbolic link. |
pankso@34 | 31 cd $fs/usr/lib |
pankso@34 | 32 ln -s libexpat.so.1.5.2 libexpat.so.0 |
pankso@34 | 33 } |