void-packages/srcpkgs/geda/template
Érico Rolim dbc2e9b532 geda: remove -L/lib workaround.
Now part of cross-cc wrapper.
2020-12-20 19:43:35 -03:00

51 lines
1.4 KiB
Bash

# Template file for 'geda'
pkgname=geda
version=1.10.1
revision=1
wrksrc="${pkgname}-gaf-${version}"
build_style=gnu-configure
configure_args="--disable-update-xdg-database"
hostmakedepends="automake libtool pkg-config flex gettext-devel guile
groff python desktop-file-utils shared-mime-info tar texinfo"
makedepends="gamin-devel gc-devel gtk+-devel guile-devel python-devel libatomic_ops-devel"
depends="guile"
checkdepends="perl"
short_desc="Electronic Design Automation tool"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later"
homepage="http://www.geda-project.org/"
distfiles="http://ftp.geda-project.org/geda-gaf/stable/v${version%.*}/${version}/geda-gaf-${version}.tar.gz"
checksum=76d282ddeebfb63da8d9b347951e67ce9282b9547df81bde4b46a3851eb13359
CFLAGS="-Wno-deprecated-declarations -fcommon"
python_version=2
replaces="geda-data>=0"
CFLAGS="-Wno-unused-function"
pre_configure() {
mkdir -p gnu
touch gnu/stubs-32.h
autoreconf -fi
}
post_install() {
rm -f ${DESTDIR}/usr/share/applications/mimeinfo.cache
}
geda-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
}
}
geda-doc_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - documentation and exmaple files"
pkg_install() {
vmove usr/share/doc
}
}