2015-05-29 23:50:19 +00:00
|
|
|
# Template file for 'geda'
|
|
|
|
pkgname=geda
|
|
|
|
version=1.8.2
|
2015-06-05 17:14:53 +00:00
|
|
|
revision=3
|
2015-05-29 23:50:19 +00:00
|
|
|
wrksrc=${pkgname}-gaf-${version}
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config guile desktop-file-utils"
|
|
|
|
makedepends="gc-devel gtk+-devel guile-devel"
|
|
|
|
depends="guile geda-data"
|
|
|
|
short_desc="Electronic Design Automation tool"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.geda-project.org/"
|
|
|
|
distfiles="http://ftp.geda-project.org/geda-gaf/stable/v${version%.*}/${version}/geda-gaf-${version}.tar.gz"
|
|
|
|
checksum=bbf4773aef1b5a51a8d6f4c3fa288c047340cc62dd6e14d7928fcc6e4051b721
|
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) broken="Because guile fails https://travis-ci.org/voidlinux/void-packages/jobs/64873229"
|
|
|
|
esac
|
|
|
|
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() {
|
|
|
|
noarch=yes
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - documentation and exmaple files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
geda-data_package() {
|
|
|
|
noarch=yes
|
|
|
|
short_desc+=" - data files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/gEDA
|
|
|
|
}
|
|
|
|
}
|