45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Template file for 'geda'
|
|
pkgname=geda
|
|
version=1.8.2
|
|
revision=5
|
|
wrksrc=${pkgname}-gaf-${version}
|
|
build_style=gnu-configure
|
|
configure_args="--disable-update-desktop-database --disable-update-mime-database"
|
|
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
|
|
}
|
|
}
|