If you see this:
==> Validating source files with md5sums...
libmpeg3-1.8-src.tar.bz2 ... Passed
libmpeg3.pc ... FAILED
make sure you replace libmpeg3.pc's md5 sum in the new pkgbuild
with the output from
md5sum libmpeg3.pc
Search Criteria
Package Details: libmpeg3 1.8-2
Package Actions
| Package Base: | libmpeg3 |
|---|---|
| Description: | Supports advanced editing and manipulation of MPEG streams |
| Upstream URL: | http://heroinewarrior.com/libmpeg3.php |
| Category: | multimedia |
| Licenses: | |
| Submitter: | osc |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 7 |
| First Submitted: | 2008-06-18 02:11 |
| Last Updated: | 2009-12-28 03:18 |
Dependencies (1)
Required by (0)
Sources
Latest Comments
Anonymous comment
Anonymous comment
new pkgbuild
# Contributor: farid abdelnour <farid at atelier-lab.org>
pkgname=libmpeg3
pkgver=1.8
pkgrel=2
pkgdesc="Supports advanced editing and manipulation of MPEG streams"
arch=('i686' 'x86_64')
url="http://heroinewarrior.com/libmpeg3.php"
license=('GPL')
depends=('a52dec')
makedepends=('nasm')
source=("http://prdownloads.sourceforge.net/heroines/libmpeg3-1.8-src.tar.bz2"
'libmpeg3.pc')
md5sums=('a9d0d34e8941a4437eb8e7dfe559eca1'
'22675e56ab60cfb133aec1bfb7a6784e')
build(){
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make prefix=/usr DST="$pkgdir" install
mkdir -p "$pkgdir/usr/lib/pkgconfig"
install -D ../libmpeg3.pc "$pkgdir/usr/lib/pkgconfig/libmpeg3.pc"
}
need the libmpeg3.pc for some programme
put this content file named libmpeg3.pc at top directory
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/mpeg3
Name: libmpeg3
Description: Decoder of various derivatives of MPEG standards
Version: 1.8.2
Requires:
Conflicts:
Libs: -L${libdir} -lmpeg3 -lpthread -la52
Cflags: -I${includedir}
Comment by PhotonX
I could build this only after changing
make DESTDIR=$startdir/pkg install || return 1
to
make DST=$startdir/pkg install || return 1
Otherwise it couldn't read the directory and tried to install to /usr/bin directly.