Github messages for voidlinux
 help / color / mirror / Atom feed
From: FabriceColin <FabriceColin@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Package request: ctemplate
Date: Sat, 04 Jul 2020 10:18:44 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23387@inbox.vuxu.org> (raw)

[-- 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"
        }
}


                 reply	other threads:[~2020-07-04  8:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23387@inbox.vuxu.org \
    --to=fabricecolin@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).