Michael Forney
2eddb78d1b
Store dist files in config.distdir
...
This makes it easy to remove old distfiles with `git clean -f dist`.
2026-03-12 16:40:37 -07:00
Michael Forney
008a4df956
lpeg: Build with warning flags
2024-03-17 00:27:08 -07:00
hovercats
a14a1bf180
lpeg: 1.1.0
2024-02-07 20:50:18 -08:00
Michael Forney
d4297a13c8
Use -isystem to include library headers
...
This way, warnings from headers that come from another package (in
particular linux-headers) won't show up when they get included.
To make sure we still track dependencies, use -MD instead of -MMD.
2020-06-05 03:01:44 -07:00
Michael Forney
d3edcea456
Use lua header target
2020-06-02 04:22:22 -07:00
Michael Forney
2255c43da7
Use $basedir to refer to paths relative to base source tree
2019-12-16 23:48:22 -08:00
Michael Forney
4332740046
Rename rev to ver, and keep track of package versions as well
2019-03-19 00:14:12 -07:00
Michael Forney
7caa13b6ff
lpeg: Update to 1.0.2
2019-03-19 00:11:15 -07:00
Michael Forney
e5cfa84477
Move $outdir/fetch.stamp -> $dir/fetch
2017-10-23 21:43:33 -07:00
Michael Forney
ba94a8513d
Rewrite ninja generation scripts in Lua
2017-09-25 19:23:06 -07:00
Michael Forney
6fa5f88e60
Don't use -isystem
...
This way we can use -MMD to exclude system header files and still retain
dependency tracking within oasis.
2017-08-19 19:07:18 -07:00
Michael Forney
23f2554b6d
lpeg: Update to 1.0.1
2017-02-07 14:36:25 -08:00
Michael Forney
293f5a93b7
Move to flat package hierarchy
...
Note to self: never try to move submodules again
To migrate your existing submodules (more or less):
set -x
set -e
mkdir .git/modules/pkg
for old in */*/src ; do
new="pkg/${old#*/}"
if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then
continue
fi
git -C ".git/modules/$old" config core.worktree "../../../../../$new"
rmdir "$new"
mv "$old" "$new"
sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp"
mv "$new/.git.tmp" "$new/.git"
mkdir ".git/modules/${new%/src}"
mv ".git/modules/$old" ".git/modules/$new"
rm "${old%/src}"/*.ninja
mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/"
rmdir "${old%/src}" || true
done
sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp
mv .git/config.tmp .git/config
2016-12-13 23:10:30 -08:00