wok-4.x view libass/receipt @ rev 10013

binutils: use --build and --host like it was in 3.0 and above so we got the correct tripplet
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 05:35:18 2011 +0200 (2011-05-19)
parents 12a174194122
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libass"
4 VERSION="0.9.11"
5 CATEGORY="multimedia"
6 SHORT_DESC="A portable library for SSA/ASS subtitles rendering"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="enca fontconfig libpng"
9 BUILD_DEPENDS="enca-dev freetype-dev fontconfig-dev libpng-dev expat-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://code.google.com/p/libass/"
12 WGET_URL="http://libass.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }