ponyc: remove
This is unmaintained, the version is obsolete and it blocks llvm9 removal. Closes https://github.com/void-linux/void-packages/pull/21938
This commit is contained in:
parent
ad4c830c11
commit
090267bcbb
2 changed files with 7 additions and 29 deletions
2
srcpkgs/ponyc/INSTALL.msg
Normal file
2
srcpkgs/ponyc/INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
|||
ponyc is no longer provided by Void Linux, and will be fully removed from the
|
||||
repos on 2019/09/25
|
|
@ -1,34 +1,10 @@
|
|||
# Template file for 'ponyc'
|
||||
pkgname=ponyc
|
||||
version=0.33.2
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="llvm9 which"
|
||||
makedepends="zlib-devel ncurses-devel libatomic-devel libxml2-devel"
|
||||
depends="libatomic-devel"
|
||||
short_desc="OO, actor-model, capabilities-secure, high-performance language"
|
||||
revision=2
|
||||
archs=noarch
|
||||
build_style=meta
|
||||
short_desc="Pony programming language (removed package)"
|
||||
maintainer="Brian Mitchell <brian@strmpnk.co>"
|
||||
license="BSD-2-Clause"
|
||||
license="metapackage"
|
||||
homepage="https://ponylang.org/"
|
||||
distfiles="https://github.com/ponylang/ponyc/archive/${version}.tar.gz"
|
||||
checksum=41ba573f16b4aecbcc39ec6d5b794185bf50e570b4a8f2cceef0a276e7fb50a3
|
||||
|
||||
do_build() {
|
||||
vsed -e 's/-Werror //' -i Makefile
|
||||
|
||||
make config=release default_pic=true
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make config=release destdir=${DESTDIR}/usr/lib/pony/${version} prefix=${DESTDIR}/usr install
|
||||
rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a \
|
||||
${DESTDIR}/usr/lib/libponyc.a ${DESTDIR}/usr/include/pony.h
|
||||
ln -s /usr/lib/pony/${version}/lib/libponyrt.a ${DESTDIR}/usr/lib
|
||||
ln -s /usr/lib/pony/${version}/lib/libponyc.a ${DESTDIR}/usr/lib
|
||||
ln -s /usr/lib/pony/${version}/bin/ponyc ${DESTDIR}/usr/bin
|
||||
ln -s /usr/lib/pony/${version}/include/pony.h ${DESTDIR}/usr/include
|
||||
vlicense LICENSE
|
||||
vdoc README.md
|
||||
vcopy examples usr/share/doc/ponyc/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue