--
project = "Yoink"
-package = project:lower()
version = "0.1"
bugreport = "chaz@dogcows.com"
-- Define the dependent values.
+ package = project:lower()
+ tarname = package.."-"..version
+
if not host then host = ReadCommand("tools/config.guess") end
alt_host = ReadCommand("tools/config.sub "..host)
do
-- Determine and define the git revision.
- local head = ReadCommand("git log -n1 --date=short --pretty=format:\"%h (%ad)\"")
+ local head = ReadCommand("git describe master")
config.YOINK_GITHEAD = head
end
config.PACKAGE_STRING = project.." "..version
config.PACKAGE_BUGREPORT = bugreport
+define.PACKAGE = project
+define.TARNAME = tarname
define.TARGET = host
define.PLATFORM = platform
define.CC = CC