29 lines
814 B
Bash
29 lines
814 B
Bash
# Template file for 'rinse'
|
|
pkgname=rinse
|
|
version=3.0.2
|
|
revision=1
|
|
wrksrc="$pkgname"
|
|
hostmakedepends="perl dpkg"
|
|
makedepends="perl"
|
|
depends="rpm wget perl-LWP"
|
|
checkdepends="${depends} perl-Test-Pod"
|
|
short_desc="Bootstrap a rpm based distribution like debootstrap"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="GPL-3"
|
|
conf_files="/etc/rinse/rinse.conf"
|
|
homepage="http://collab-maint.alioth.debian.org/rinse/"
|
|
distfiles="http://collab-maint.alioth.debian.org/rinse/download/rinse_${version}.tar.gz"
|
|
checksum=42f7cc074e84b8c99c290a2284c9de285998c100e8a77481bf14b6cd76608710
|
|
|
|
pre_install() {
|
|
sed -i 's|pod2man.*$|pod2man --release=3.0.2 --official --section=8 ./bin/rinse ./bin/rinse.8|' Makefile
|
|
}
|
|
|
|
do_check() {
|
|
make test
|
|
}
|
|
|
|
do_install() {
|
|
make PREFIX="${DESTDIR}" sbindir="${DESTDIR}"/bin install
|
|
}
|