# Contributor: Carlo Landmeter # Maintainer: Natanael Copa setvar pkgname = 'libmodplug' setvar pkgver = '0.8.9.0' setvar pkgrel = '0' setvar pkgdesc = ""A MOD playing library"" setvar url = ""http://modplug-xmms.sourceforge.net/"" setvar arch = ""all"" setvar license = ""custom"" setvar depends = '' setvar makedepends = '' setvar install = '' setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://downloads.sourceforge.net/modplug-xmms/$pkgname-$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $_builddir # apply patches here } proc build { cd $_builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } setvar sha512sums = ""880e10154fd367ee24ace53ca7e32a5c1fee7dfff1f934e6499944c12779427da63e2f55f8d6ce25db0a42a5b4424053bf64305b31dbfc4ef6a8909924d655fd libmodplug-0.8.9.0.tar.gz""