smlinux/base/npth/npth.SMBuild

30 lines
686 B
Text
Executable file

app=npth
version=1.6
build=1sml
homepage="https://gnupg.org/software/npth/index.html"
download="https://gnupg.org/ftp/gcrypt/npth/npth-$version.tar.bz2"
desc="Provides non-premptive priority-based scheduling for multiple threads in event-driven programs"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2 npth-1.6.tar.bz2
"