Commit 125797c0 authored by Jakub Jirutka's avatar Jakub Jirutka

main/libogg: improve abuild

parent 3fbe60c4
......@@ -8,30 +8,23 @@ url="http://xiph.org/ogg/"
arch="all"
license="BSD"
options="!check" # no tests available
depends=
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
}
source="http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
--prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment