Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package request: ctemplate
@ 2020-07-04  8:18 FabriceColin
  0 siblings, 0 replies; only message in thread
From: FabriceColin @ 2020-07-04  8:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

New issue by FabriceColin on void-packages repository

https://github.com/void-linux/void-packages/issues/23387

Description:
Website: https://github.com/OlafvdSpek/ctemplate
Source: https://github.com/OlafvdSpek/ctemplate/archive/ctemplate-2.4.tar.gz

I am copying below a package file I have successfully tried it on my PowerBook5,4 (Void 5.4.41_1 ppc PowerMac uptodate FFF).

# Template file for 'ctemplate'
pkgname=ctemplate
version=2.4
revision=1
archs="i686* x86_64* ppc"
wrksrc="ctemplate-ctemplate-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python3"
short_desc="Simple but powerful template language for C++"
maintainer="Fabrice Colin <fabrice.colin@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/OlafvdSpek/ctemplate"
distfiles="https://github.com/OlafvdSpek/ctemplate/archive/${pkgname}-${version}.tar.gz"
checksum=ccc4105b3dc51c82b0f194499979be22d5a14504f741115be155bd991ee93cfa

# Manually declare shlibs used by the subpkgs.
shlib_provides="libctemplate.so libctemplate_nothreads.so"

pre_configure() {
        autoreconf -fi
}

post_install() {
        vlicense COPYING
}

ctemplate-devel_package() {
        depends="${sourcepkg}>=${version}_${revision}"
        short_desc+=" - development files"
        pkg_install() {
                vmove usr/bin/make_tpl_varnames_h
                vmove usr/bin/template-converter
                vmove usr/bin/diff_tpl_auto_escape
                vmove usr/include
                vmove usr/lib/pkgconfig
                vmove "usr/lib/*.a"
                vmove "usr/lib/*.la"
                vmove "usr/lib/*.so"
        }
}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-04  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-04  8:18 [ISSUE] Package request: ctemplate FabriceColin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).