summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-09 16:41:14 +0000
committerdavidovski <david@davidovski.xyz>2022-01-09 16:41:14 +0000
commit1b8d8682486a43071f968afc03d43aa1e27413b8 (patch)
tree228e207ddefa064ae7522413ceb926bc626ca895 /repo
parent415e021b1e58da6b1f4a152c224dafb74e76e27d (diff)
added zip, cmake, asciidog and pkg-config
Diffstat (limited to 'repo')
-rw-r--r--repo/core/asciidoc.xibuild13
-rw-r--r--repo/core/cmake.xibuild12
-rw-r--r--repo/core/gcc.xibuild2
-rw-r--r--repo/core/pkg-config.xibuild16
-rw-r--r--repo/core/zip.xibuild11
5 files changed, 45 insertions, 9 deletions
diff --git a/repo/core/asciidoc.xibuild b/repo/core/asciidoc.xibuild
new file mode 100644
index 0000000..814cc21
--- /dev/null
+++ b/repo/core/asciidoc.xibuild
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+DEPS=(python libxslt docbook-xsl)
+
+SOURCE=https://github.com/asciidoc-py/asciidoc-py/releases/download/10.1.1/asciidoc-10.1.1.tar.gz
+DESC="Text document format for short documents, articles, books and UNIX man pages"
+
+
+build () {
+ make
+ make DESTDIR=$PKG_DEST install
+}
+
diff --git a/repo/core/cmake.xibuild b/repo/core/cmake.xibuild
new file mode 100644
index 0000000..1b9959e
--- /dev/null
+++ b/repo/core/cmake.xibuild
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+DEPS=(curl libarchive jsoncpp libuv rhash)
+
+SOURCE=https://github.com/Kitware/CMake/releases/download/v3.22.1/cmake-3.22.1.tar.gz
+DESC="A cross-platform open-source make system"
+
+build () {
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/core/gcc.xibuild b/repo/core/gcc.xibuild
index 19e28ca..49eab1f 100644
--- a/repo/core/gcc.xibuild
+++ b/repo/core/gcc.xibuild
@@ -33,7 +33,7 @@ build () {
--with-system-zlib
make
-
+ # TODO put tests here, quite important
make DESTDIR=$PKG_DEST install
}
diff --git a/repo/core/pkg-config.xibuild b/repo/core/pkg-config.xibuild
index 2d4609e..9f1e3f4 100644
--- a/repo/core/pkg-config.xibuild
+++ b/repo/core/pkg-config.xibuild
@@ -1,16 +1,16 @@
#!/bin/bash
-DEPS=(glibc)
-SOURCE=https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
+DEPS=(glibc sh)
-DESC="a tool for passing the include path to build tools during configure and make phases of package installations"
+SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
+DESC="Package compiler and linker metadata toolkit"
build () {
- ./configure --help
- ./configure --prefix=/usr --disable-host-tool --mandir=/usr/share/doc/pkg-config
-
+ ./configure --prefix=/usr \
+ --with-internal-glib \
+ --disable-host-tool \
+ --docdir=/usr/share/doc/pkg-config-0.29.2
make
make check
-
- make DESTDIR=$PKG_DEST install
+ make DESTDIR=$PKG_DEST install
}
diff --git a/repo/core/zip.xibuild b/repo/core/zip.xibuild
new file mode 100644
index 0000000..c94ffce
--- /dev/null
+++ b/repo/core/zip.xibuild
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+DEPS=(glibc bzip2)
+
+SOURCE=https://sourceforge.net/projects/infozip/files/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz/download
+DESC="Compressor/archiver for creating and modifying zipfiles"
+
+build () {
+ make -f unix/Makefile generic
+ make DESTDIR=$PKG_DEST -f unix/Makefile install
+}