51 lines
1.4 KiB
Bash
51 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="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=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
|
|
}
|
|
}
|