diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/gprbuild/APKBUILD | 50 | ||||
-rw-r--r-- | user/gprbuild/foxkit.xml | 17 | ||||
-rw-r--r-- | user/guile/APKBUILD | 6 | ||||
-rw-r--r-- | user/musl-locales/APKBUILD | 28 |
4 files changed, 97 insertions, 4 deletions
diff --git a/user/gprbuild/APKBUILD b/user/gprbuild/APKBUILD new file mode 100644 index 000000000..46cd8f81d --- /dev/null +++ b/user/gprbuild/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: Samuel Holland <samuel@sholland.org> +pkgname=gprbuild +pkgver=2019 +_pkgver=2019-20190517-194D8 +_xmlver=2019-20190429-19B9D +pkgrel=0 +pkgdesc="An advanced build system for multi-language systems" +url="https://github.com/AdaCore/gprbuild" +arch="all" +options="!check" # No test suite. +license="GPL-3.0+" +makedepends="gcc-gnat" +source="$pkgname-$_pkgver-src.tar.gz::http://mirrors.cdn.adacore.com/art/5cdf8e8031e87a8f1d425093 + xmlada-$_xmlver-src.tar.gz::http://mirrors.cdn.adacore.com/art/5cdf916831e87a8f1d4250b5 + foxkit.xml" +builddir="$srcdir/$pkgname-$_pkgver-src" + +build() { + xmlada="../xmlada-$_xmlver-src" + incflags="-Isrc -Igpr/src -I$xmlada/dom -I$xmlada/input_sources \ + -I$xmlada/sax -I$xmlada/schema -I$xmlada/unicode" + gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o + for bin in gprbuild gprconfig gprclean gprinstall gprls gprname; do + gnatmake -j$JOBS $incflags $ADAFLAGS $bin-main \ + -o $bin -cargs $CFLAGS -largs $LDFLAGS gpr_imports.o + done + for lib in gprlib gprbind; do + gnatmake -j$JOBS $incflags $ADAFLAGS $lib \ + -cargs $CFLAGS -largs $LDFLAGS gpr_imports.o + done +} + +package() { + mkdir -p "$pkgdir"/usr/bin + cp gprbuild gprconfig gprclean gprinstall gprls gprname \ + "$pkgdir"/usr/bin + mkdir -p "$pkgdir"/usr/libexec/gprbuild + cp gprlib gprbind \ + "$pkgdir"/usr/libexec/gprbuild + mkdir -p "$pkgdir"/usr/share/gpr + cp share/_default.gpr \ + "$pkgdir"/usr/share/gpr + mkdir -p "$pkgdir"/usr/share/gprconfig + cp share/gprconfig/* "$srcdir"/foxkit.xml \ + "$pkgdir"/usr/share/gprconfig +} + +sha512sums="0388d7e6cdf625fef40b33da764091b3283dd88714c64ecfad4b5e99253f183b1a9b717c19281e6d45cc4277a05fadb2e2ace394d6f30638664b66c97123052b gprbuild-2019-20190517-194D8-src.tar.gz +f8e0e25b0aee9a7a18223ae7761603082af55134f062c767d0cd0dbf0dbcb2058fc7c57532b567fb2c6efa464a53ead57b300578e98962025866e5c3ad73e380 xmlada-2019-20190429-19B9D-src.tar.gz +e369c094963d3dcfb03d7ac0949825531bae6410ef9c4bec774cb0da70d2bd4a784bdec37db5151c0371ce769712ee02fc04f36896ccc8bddcdb585c1ee8dbbc foxkit.xml" diff --git a/user/gprbuild/foxkit.xml b/user/gprbuild/foxkit.xml new file mode 100644 index 000000000..d33cb33c2 --- /dev/null +++ b/user/gprbuild/foxkit.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" ?> +<gprconfig> + <configuration> + <targets> + <target name=".*foxkit-linux.*" /> + </targets> + <hosts> + <host name=".*foxkit-linux.*" /> + </hosts> + <config> + for Archive_Builder use ("ar", "cr"); + for Archive_Builder_Append_Option use ("q"); + for Archive_Indexer use ("ranlib"); + for Archive_Suffix use ".a"; + </config> + </configuration> +</gprconfig> diff --git a/user/guile/APKBUILD b/user/guile/APKBUILD index 6013fd375..024ac6c22 100644 --- a/user/guile/APKBUILD +++ b/user/guile/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: pkgname=guile -pkgver=2.2.4 +pkgver=2.2.5 pkgrel=0 pkgdesc="Portable, embeddable Scheme implementation written in C" url="https://www.gnu.org/software/guile/" @@ -17,7 +17,6 @@ source="ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz " build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -28,10 +27,9 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/lib/charset.alias } -sha512sums="a200b83a02ef23c8256d9bfb14a141bb6dbca01279a0587bfb672060429c49093088e4b765b7ee5c85cd587a1aeed77d9438d300d3e67cdd6cebbb794d88171e guile-2.2.4.tar.gz +sha512sums="1c07a6d16e00953d416bd8db5b1e9574c62751f745c203de5a910b9688cf93756fe2303ab084d9e9949bff11e6e14909304ecd1ef671be2a06c7c3f292f6380c guile-2.2.5.tar.gz b1c309cc07830ff1741ef88857f8099187b449580e8d57862886abc367ef1accc5a35636d81eee09247f13d3a751cdc8909fdea05368d3d509bd2039ce06d078 0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch" diff --git a/user/musl-locales/APKBUILD b/user/musl-locales/APKBUILD new file mode 100644 index 000000000..9bbf0c49b --- /dev/null +++ b/user/musl-locales/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Alyx <alyx@leuhta.com> +# Maintainer: Alyx <alyx@leuhta.com> +pkgname=musl-locales +pkgver=0.20190626 +pkgrel=0 +pkgdesc="Locale program for musl" +url="https://gitlab.com/rilian-la-te/musl-locales" +arch="all" +options="!check" # No test suite. +license="MIT" +depends="" +makedepends="cmake make gettext-tiny-dev" +subpackages="$pkgname-lang" +source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname" + +build() { + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + . + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="f65381b6eec64e69e649dacd3a3f75e74d9236164a1277bd2493afb3cb469049bee026d590a7207413b4d92675f877d1d8d3b16c58840a6e15a81638a2f731f2 musl-locales-0.20190626.tar.gz" |