mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +01:00
This makes it possible to provide armv7 as additional architecture in Alpine, next to armhf. See the discussion in this ML thread: <https://lists.alpinelinux.org/alpine-devel/6271.html> It's done by adding armv7 next to armhf in the arch line and also !armv7 where the arch line said !armhf. The following script was used:
31 lines
923 B
Plaintext
31 lines
923 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=ocamlclean
|
|
pkgver=2.1
|
|
pkgrel=0
|
|
pkgdesc="OCaml Bytecode Cleaner"
|
|
url="http://www.algo-prog.info/ocapic/web/index.php?id=OCAPIC:OCamlClean"
|
|
arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml aport
|
|
license="CECILL-2.0"
|
|
makedepends="bash ocaml ocamlbuild"
|
|
subpackages="$pkgname-doc"
|
|
# backup: https://github.com/bvaugon/ocamlclean
|
|
source="$pkgname-$pkgver.tar.bz2::http://www.algo-prog.info/ocapic/web/lib/exe/fetch.php?media=ocapic:$pkgname-$pkgver.tar.bz2"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
./configure \
|
|
-prefix "$pkgdir/usr" \
|
|
-mandir "$pkgdir/usr/share/man"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make install
|
|
}
|
|
|
|
sha512sums="6554f452c48c853fed4587456c582f31a47d947772975ba17e5a4cbb566fa61ed996dee23ec83fe360c7bcf65cc9f8544c78491769e8546b05dbada53b4cf73d ocamlclean-2.1.tar.bz2"
|