2010-09-15 08:12:13 +03:00
|
|
|
--- a/pmfile 2009-12-13 06:44:53.000000000 -0700
|
|
|
|
+++ b/pmfile 2010-09-14 22:36:03.000000000 -0600
|
2010-08-15 20:41:47 +03:00
|
|
|
@@ -12,6 +12,9 @@
|
|
|
|
DATE = "13 December 2009"
|
|
|
|
VERSION = "0.3.3"
|
|
|
|
FILEFORMAT = 3
|
|
|
|
+STAGING_DIR = os.getenv("STAGING_DIR")
|
|
|
|
+CCOMPILER = os.getenv("TARGET_CC")
|
|
|
|
+LUAC = "cat %in% > %out%"
|
2010-09-15 08:12:13 +03:00
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
-- User configurable settings start here!
|
|
|
|
@@ -19,8 +22,8 @@
|
|
|
|
-- Where do you want WordGrinder installed? By default, it goes into your
|
|
|
|
-- home directory.
|
2010-09-15 08:12:13 +03:00
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
-PREFIX = HOME
|
|
|
|
--- PREFIX = "/usr/local"
|
|
|
|
+-- PREFIX = HOME
|
|
|
|
+PREFIX = "/usr/"
|
2010-09-15 08:12:13 +03:00
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
-- What build flags do you want to use? (Not including -g or -Os, which are
|
|
|
|
-- added later automatically.)
|
2010-09-15 08:12:13 +03:00
|
|
|
@@ -36,6 +39,8 @@
|
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
CLIBRARIES = {
|
|
|
|
'm',
|
|
|
|
+ 'crypt',
|
|
|
|
+ 'dl',
|
|
|
|
}
|
2010-09-15 08:12:13 +03:00
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
CDEFINES = {
|
2010-09-15 08:12:13 +03:00
|
|
|
@@ -45,8 +50,8 @@
|
2010-08-15 20:41:47 +03:00
|
|
|
}
|
2010-09-15 08:12:13 +03:00
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
CINCLUDES = {
|
|
|
|
- "/usr/include/ncursesw",
|
|
|
|
- "/usr/include/lua5.1",
|
|
|
|
+ "%STAGING_DIR%/usr/include/ncursesw",
|
|
|
|
+ "%STAGING_DIR%/usr/include/",
|
|
|
|
"src/c"
|
|
|
|
}
|
2010-09-15 08:12:13 +03:00
|
|
|
|
|
|
|
@@ -214,8 +219,8 @@
|
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
CLIBRARIES = {
|
|
|
|
PARENT,
|
|
|
|
- 'ncursesw',
|
|
|
|
- 'lua5.1'
|
|
|
|
+ '%STAGING_DIR%/usr/lib/libncursesw.a',
|
|
|
|
+ '%STAGING_DIR%/usr/lib/liblua.a'
|
|
|
|
}
|
|
|
|
}
|
2010-09-15 08:12:13 +03:00
|
|
|
|
|
|
|
@@ -246,7 +251,7 @@
|
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
CLIBRARIES = {
|
|
|
|
PARENT,
|
|
|
|
- 'ncursesw',
|
|
|
|
+ '%STAGING_DIR%/usr/lib/ncursesw.a',
|
|
|
|
},
|
2010-09-15 08:12:13 +03:00
|
|
|
|
2010-08-15 20:41:47 +03:00
|
|
|
install = pm.install("bin/wordgrinder-static")
|