aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-15 23:58:00 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-21 08:21:04 +0000
commit60de90417747f8b1400de64d591cd9c31c89c7e3 (patch)
treeff1ed3919b16b3651567ef37914b6e6140e8cce3
parentbfe5eb04bb901a65ee316659f3139a4e5bba2bcf (diff)
downloadaports-60de90417747f8b1400de64d591cd9c31c89c7e3.tar.bz2
aports-60de90417747f8b1400de64d591cd9c31c89c7e3.tar.xz
main/libass: new apkbuild
(cherry picked from commit 7d3fe7bac215ffb73161f6b3917da108aee44fc5)
-rw-r--r--main/libass/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/libass/APKBUILD b/main/libass/APKBUILD
new file mode 100644
index 0000000000..2d00124262
--- /dev/null
+++ b/main/libass/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Carlo Landmeter
+# Maintainer:
+pkgname=libass
+pkgver=0.9.11
+pkgrel=0
+pkgdesc="A portable library for SSA/ASS subtitles rendering"
+url="http://code.google.com/p/libass/"
+license="GPL"
+depends=""
+makedepends="pkgconfig enca-dev fontconfig-dev libpng-dev"
+subpackages="$pkgname-dev"
+source="http://libass.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="f9042884397002ba40aa89dc7d34f59f libass-0.9.11.tar.bz2"