2014-12-11 19:04:16 +00:00
|
|
|
# Template file for 'biew'
|
|
|
|
pkgname=biew
|
|
|
|
version=6.1.0
|
2015-05-11 13:26:31 +00:00
|
|
|
revision=3
|
2015-08-31 11:45:53 +00:00
|
|
|
_shortversion=${version//.}
|
2014-12-11 19:04:16 +00:00
|
|
|
wrksrc="${pkgname}-${_shortversion}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="Console hex viewer/editor and disassembler"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://beye.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/beye/${pkgname}/${version}/${pkgname}-${_shortversion}-src.tar.bz2"
|
|
|
|
checksum=2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17
|
|
|
|
|
2015-04-02 17:54:38 +00:00
|
|
|
pre_configure() {
|
|
|
|
configure_args+=" --target-arch=generic --ld=$CC"
|
2015-05-11 13:26:31 +00:00
|
|
|
sed -i 's/__GLIBC__/__STDC__/g' biewlib/sysdep/generic/__config.h
|
2015-04-02 17:54:38 +00:00
|
|
|
}
|
2014-12-11 19:04:16 +00:00
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/man
|
|
|
|
mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share
|
|
|
|
}
|