[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gsrc] gnuspeech
From: |
Brandon Invergo |
Subject: |
Re: [bug-gsrc] gnuspeech |
Date: |
Fri, 16 Oct 2015 10:16:03 +0100 |
On Fri, 2015-10-16 at 00:39 -0700, carl hansen wrote:
> OK that example worked pretty straight-forwardly. Only complication,
> for which I made a working work-around, is that the directory/package
> is called "gnuspeech" but the tar file is called "gnuspeechsa".
Ah, I hate when that happens.
In this case, I would set UPSTREAMNAME to gnuspeechsa.
Normally:
UPSTREAMNAME = $(GARNAME)
DISTNAME = $(UPSTREAMNAME)-$(GARVERSION)
WORKSRC = $(WORKDIR)/$(DISTNAME)
So if you change UPSTREAMNAME to gnuspeechsa, you can just do the usual:
DISTFILES = $(DISTNAME).tar.gz
SIGFILES = $(DISTNAME).tar.gz.sig
CONFIGURE_SCRIPTS = $(WORKSRC)/CMakeLists.txt
Regarding CMake, for BioSRC, I made a cmake.mk file that goes in
gar.lib. I never added it to GSRC because there was only the one
package using CMake. However, we might as well add it to GSRC. I will
do that tonight. Then for most cases of packages using CMake, we would
just need to include gar.lib/cmake.mk without having to define
{CONFIGURE,BUILD,INSTALL}_SCRIPTS.
Thanks,
-brandon