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

master
Olivier DOSSMANN 2018-08-05 10:47:02 +02:00
parent 71c113d0fe
commit 4e0ce8aa77
2 changed files with 14 additions and 5 deletions

View File

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

View File

@ -1,7 +1,15 @@
distribution = "Alpine" with context
package-manager = "apk" .distribution = "Alpine"
repository-manager = "apk" .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"