diff options
Diffstat (limited to 'legacy')
-rw-r--r-- | legacy/cdrtools/APKBUILD | 34 | ||||
-rw-r--r-- | legacy/smake/APKBUILD | 35 |
2 files changed, 69 insertions, 0 deletions
diff --git a/legacy/cdrtools/APKBUILD b/legacy/cdrtools/APKBUILD new file mode 100644 index 000000000..39a3021c8 --- /dev/null +++ b/legacy/cdrtools/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=cdrtools +pkgver=3.01 +pkgrel=1 +pkgdesc="Highly portable CD/DVD/Blu-Ray command line recording software" +url="http://schilytools.sourceforge.net/" +arch="all" +options="suid" +license="CDDL-1.0" +depends="" +makedepends="attr-dev byacc expat-dev openssl-dev smake" +subpackages="$pkgname-doc" +source="https://download.sourceforge.net/cdrtools/cdrtools-$pkgver.tar.bz2" + +build() { + cd "$builddir" + smake INS_BASE=/usr +} + +check() { + cd "$builddir" + smake check +} + +package() { + cd "$builddir" + smake INS_BASE=/usr DESTDIR="$pkgdir" install + + mv "$pkgdir"/usr/share/man/man3 "$pkgdir"/usr/share/man/man3sch + rename .3 .3sch "$pkgdir"/usr/share/man/man3sch/*.3 +} + +sha512sums="54f06496e47184e324fc9d8b1153d3c806ed43c3c57e2a8d79a79afe12aa5334e82fa500fe1b1bf49307ad7dfabe687f6e1ad914fc2f0c5c429d8e6a34c293eb cdrtools-3.01.tar.bz2" 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" |