smlinux/base/pv/pv.SMBuild

33 lines
716 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=pv
version=1.6.6
build=1sml
homepage="http://www.ivarch.com/programs/pv.shtml"
download="http://www.ivarch.com/programs/sources/pv-$version.tar.bz2"
desc="Pipe Viewer for monitoring progress of data through pipeline"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp doc/COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d0a5c2e4f5c072dfbf56170c5de7d57ec07b7452e6f827754bcb3eb568b3ce67e4037a134460763552f3ef022639445a58de3e5595f94285433d230db5645e1f pv-1.6.6.tar.lz
"