mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
# Maintainer:
|
|
pkgname=jdebp-redo
|
|
pkgver=1.4
|
|
pkgrel=1
|
|
pkgdesc="Smaller, easier, more powerful, and more reliable than make"
|
|
arch="all"
|
|
url="http://jdebp.info/Softwares/redo/"
|
|
license="ISC"
|
|
makedepends="perl"
|
|
subpackages="$pkgname-doc"
|
|
source="http://jdebp.info/Repository/freebsd/redo-$pkgver.tar.gz"
|
|
provides="redo"
|
|
provider_priority=30
|
|
options="!check" # No test suite from upstream
|
|
|
|
builddir="$srcdir/source"
|
|
|
|
build() {
|
|
$CXX $CXXFLAGS -I. redo.cpp popt.cpp $LDFLAGS -o redo
|
|
|
|
for alias in redo-ifcreate redo-ifchange cubehash; do
|
|
ln redo "$alias"
|
|
done
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 -t "$pkgdir"/usr/bin redo redo-ifchange redo-ifcreate cubehash
|
|
}
|
|
|
|
doc() {
|
|
cd "$srcdir/source"
|
|
|
|
for f in redo redo-ifchange redo-ifcreate cubehash; do
|
|
pod2man --center "redo package" --release v"$pkgver" "$f".pod | gzip >"$f".1.gz
|
|
install -Dm644 "$f".1.gz "$subpkgdir"/usr/share/man/man1/"$f".1.gz
|
|
done
|
|
|
|
install -Dm644 COPYING "$subpkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="
|
|
c90c75acc53cb478edefb6fa5d6e76807239f94837416cbf814e0d08c4b30bcf5a9edb7b9065358e30395619ad5deb749790819eb8ed45719facbe680e150d63 redo-1.4.tar.gz
|
|
"
|