1 # Contributor: Bernhard Walle <bernhard.walle@gmx.de>
2 # Maintainer: Laszlo Papp <djszapi at gmail com>
7 pkgdesc="Library to program and control the FTDI USB controller"
8 url="http://www.sf.net/projects/makedumpfile"
12 source=(http://downloads.sourceforge.net/sourceforge/makedumpfile/makedumpfile-$pkgver.tar.gz
13 https://fedorahosted.org/releases/e/l/elfutils/elfutils-$_elfutils_ver.tar.bz2
14 makedumpfile-static-elfutils.diff)
15 md5sums=('89aa78af190e37e1b7f4c17790ac2311'
16 '9cfc12ac0d6d14968e253639fa957946'
17 '3d726fc23114edd2fb47b59280b82a05')
20 cd $srcdir/$pkgname-$pkgver
21 MKDUMP_ROOT=$(pwd)/installed
22 cd $srcdir/elfutils-$_elfutils_ver
23 install -d $MKDUMP_ROOT
24 CFLAGS="-O2" ./configure --prefix=/usr --sysconfdir=/etc
26 make DESTDIR=$MKDUMP_ROOT install || return 1
27 cd ${srcdir}/$pkgname-$pkgver/
28 patch -p1 < ${srcdir}/makedumpfile-static-elfutils.diff || return 1
30 install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
31 install -Dm755 ${pkgname}-R.pl ${pkgdir}/usr/bin/${pkgname}-R.pl
32 gzip -f makedumpfile.8
33 install -Dm644 ${pkgname}.8.gz ${pkgdir}/usr/share/man/man8/${pkgname}.8.gz