# Contributor: Mika Havela # Maintainer: Natanael Copa setvar pkgname = 'libogg' setvar pkgver = '1.3.2' setvar pkgrel = '1' setvar pkgdesc = ""Ogg bitstream and framing library"" setvar url = ""http://xiph.org/ogg/"" setvar arch = ""all"" setvar license = ""BSD"" setvar depends = '' setvar subpackages = ""$pkgname-doc $pkgname-dev"" setvar source = ""http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz "" setvar _builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { cd $_builddir } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } proc package { cd "$srcdir/$pkgname-$pkgver" make -j1 DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } setvar md5sums = ""b72e1a1dbadff3248e4ed62a4177e937 libogg-1.3.2.tar.gz"" setvar sha256sums = ""e19ee34711d7af328cb26287f4137e70630e7261b17cbe3cd41011d73a654692 libogg-1.3.2.tar.gz"" setvar sha512sums = ""4a659bfa2851cdb7db6b852fa744ea594426e657cb74b9b0153f9c8b88e5cc836f1f7749d8e279248ffa7c550f25ef36eb68c379d5cf45e63f6b1be780de65fa libogg-1.3.2.tar.gz""