OpenWrt Forum Archive

Topic: How to customized the prepare step

The content of this topic has been archived on 7 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to build the JTG traffic generator for jtg. The archive can be downloaded at:

http://hoslab.cs.helsinki.fi/downloads/jtg/

however after unpacking the archive i get the following directory

jtg-v1.95

this name (the "v" before the version number) seems to confuse kamikaze. I think that i can
customize the prepare step in order to address this problem, but there is no documentation
on this topic.

Do you have any info? Is there another package with similar problems that i can study?

Thanks
Roberto

It'd be easier to see where you went wrong if you posted what you tried, but it should work as below

PKG_NAME:=jtg
PKG_VERSION:=1.95
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz

The discussion might have continued from here.