void-packages/srcpkgs/geda/template
Enno Boland f40cd77686 srcpkgs: remove pullmoll from maintainers field. 😢
Set them to Orphaned for now.

If you'd like to pick up a package, feel free.
2021-04-10 16:34:44 +02:00

50 lines
1.4 KiB
Bash

# Template file for 'geda'
pkgname=geda
version=1.10.2
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="Orphaned <orphan@voidlinux.org>"
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=e862ab241528538fa3bee2739261f568011102b60c5e39a2f0358663c042c8a4
python_version=2
replaces="geda-data>=0"
CFLAGS="-Wno-deprecated-declarations -fcommon -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
}
}