# HG changeset patch # User Christopher Rogers # Date 1290004394 0 # Node ID 12a174194122d83c1ae4386f6d8a9d75488098e2 # Parent 0b1b66fb99df07d83e9eefbd2849c9eecb044bdf Add libass. Need for xbmc. diff -r 0b1b66fb99df -r 12a174194122 libass-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libass-dev/receipt Wed Nov 17 14:33:14 2010 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libass-dev" +VERSION="0.9.11" +CATEGORY="development" +SHORT_DESC="devel files for libass" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libass" +WEB_SITE="http://code.google.com/p/libass/" +WANTED="libass" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 0b1b66fb99df -r 12a174194122 libass/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libass/receipt Wed Nov 17 14:33:14 2010 +0000 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="libass" +VERSION="0.9.11" +CATEGORY="multimedia" +SHORT_DESC="A portable library for SSA/ASS subtitles rendering" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="enca fontconfig libpng" +BUILD_DEPENDS="enca enca-dev fontconfig-dev libpng-dev expat-dev pkg-config" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://code.google.com/p/libass/" +WGET_URL="http://libass.googlecode.com/files/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +