Browse Source

New pkgxx.conf format (in moonscript). Adapt script.

master
Olivier DOSSMANN 4 years ago
parent
commit
4e0ce8aa77
  1. 1
      install-and-chroot.sh
  2. 18
      pkgxx.conf.example

1
install-and-chroot.sh

@ -43,6 +43,7 @@ sudo cp build $DIR/build && sh $DIR/enter-chroot /build || exit 1
# Insert pkg++ configuration in chroot
sudo mkdir -p "$DIR/opt/pkgxx/dev" && \
sudo mkdir -p "$DIR/opt/pkgxx/src" && \
sudo cp "pkgxx.conf.example" "$DIR/etc/pkgxx.conf" || exit 1
exit 0

18
pkgxx.conf.example

@ -1,7 +1,15 @@
distribution = "Alpine"
package-manager = "apk"
repository-manager = "apk"
with context
.distribution = "Alpine"
.packageManager = "apk"
.packagesDirectory = "/opt/pkgxx/dev"
.sourcesDirectory = "/opt/pkgxx/src"
.repositoryManager = "apk"
.builder = "Contributor Dev Team"
.repositoryDescription = "pkg++ dev repository"
builder = "Contributor Dev Team"
with environment
.MAKEFLAGS = "-j2"
.CFLAGS = "-O2 -fPIC"
.CXXFLAGS = "#{.CFLAGS}"
.LDFLAGS = ""
packages-directory = "/opt/pkgxx/dev"

Loading…
Cancel
Save