summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/configure.xibuild12
-rw-r--r--templates/make.xibuild7
-rw-r--r--templates/meson.xibuild10
-rw-r--r--templates/pypi.xibuild2
4 files changed, 30 insertions, 1 deletions
diff --git a/templates/configure.xibuild b/templates/configure.xibuild
new file mode 100644
index 0000000..d6278ad
--- /dev/null
+++ b/templates/configure.xibuild
@@ -0,0 +1,12 @@
+build () {
+ ./configure \
+ --prefix=/usr
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/templates/make.xibuild b/templates/make.xibuild
new file mode 100644
index 0000000..82cdeb9
--- /dev/null
+++ b/templates/make.xibuild
@@ -0,0 +1,7 @@
+build () {
+ make PREFIX=/usr
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKGDEST install
+}
diff --git a/templates/meson.xibuild b/templates/meson.xibuild
new file mode 100644
index 0000000..67ab5af
--- /dev/null
+++ b/templates/meson.xibuild
@@ -0,0 +1,10 @@
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/templates/pypi.xibuild b/templates/pypi.xibuild
index 20042b3..fbaeff2 100644
--- a/templates/pypi.xibuild
+++ b/templates/pypi.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="python"
-DEPS=""
+DEPS="%deps%"
PKG_VER=%version%
SOURCE=%url%