From 0c1370b5f1b3e8abc934ea913a4377f05f32e4a9 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 7 Aug 2017 22:05:24 +0300 Subject: Initial static build --- docs/wiki/Creating-a-package/index.html | 65 +++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 docs/wiki/Creating-a-package/index.html (limited to 'docs/wiki/Creating-a-package/index.html') diff --git a/docs/wiki/Creating-a-package/index.html b/docs/wiki/Creating-a-package/index.html new file mode 100644 index 0000000..aab62dd --- /dev/null +++ b/docs/wiki/Creating-a-package/index.html @@ -0,0 +1,65 @@ + + +
+ + +
+ postmarketOS
+ Here is a practical approach on how to port packages from other Linux distributions to pmOS (because that is usually the fastest way). Feel free to extend this information, and to add other distributions.
+musl as libc, not glibc. Never add glibc as dependency.sh for building packages. Do not use bash specific features.subpackages="$pkgname-doc" (more info)Search here, click the package name, click on "Source Files" on the top right. A git repo with the PKGBUILD and all other files (such as patches appears).
APKBUILDs do not have the arrays from bash, use flat strings insteadoptdepends-doc subpackages (see above)APKBUILD has different options (!makeflags won't work, but it has !strip and !check)