summaryrefslogtreecommitdiff
path: root/legacy/smake
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-24 04:49:26 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-24 04:49:26 +0000
commit5f8ee5b0c6910dd0a8ef2d21fa97481849cb8923 (patch)
tree71097f4b55b968a21b4a75615054513cf6233878 /legacy/smake
parente408d53d33feef5b5c818ac7740e4659d793e1a7 (diff)
downloadpackages-5f8ee5b0c6910dd0a8ef2d21fa97481849cb8923.tar.gz
packages-5f8ee5b0c6910dd0a8ef2d21fa97481849cb8923.tar.bz2
packages-5f8ee5b0c6910dd0a8ef2d21fa97481849cb8923.tar.xz
packages-5f8ee5b0c6910dd0a8ef2d21fa97481849cb8923.zip
user/cdrtools,smake: move to legacy/
Doesn't work with GCC 8, undesired by community.
Diffstat (limited to 'legacy/smake')
-rw-r--r--legacy/smake/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/legacy/smake/APKBUILD b/legacy/smake/APKBUILD
new file mode 100644
index 000000000..809060c9b
--- /dev/null
+++ b/legacy/smake/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=smake
+pkgver=1.2.5
+pkgrel=0
+pkgdesc="Highly portable Unix make implementation"
+url="https://sourceforge.net/projects/s-make/"
+arch="all"
+options="!check" # No test suite.
+license="CDDL-1.0 AND GPL-2.0-only"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://download.sourceforge.net/s-make/smake-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ sed -i -e "s|opt/schily|usr|" \
+ $(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+')
+}
+
+build() {
+ cd "$builddir"
+ export MAKEFLAGS=""
+ make INS_BASE=/usr
+}
+
+package() {
+ cd "$builddir"
+ export MAKEFLAGS=""
+ make INS_BASE=/usr DESTDIR="$pkgdir" install
+}
+
+sha512sums="15131f57942d6ea611602afa1f3d3d3d1892b0e7f0f6e5b1ace7f69f1acb7bd09403b8c70e380204cff75512f5824daef81d59205d758c93f2583b40caa873a8 smake-1.2.5.tar.bz2"