smlinux/buildsamples/sample.SMBuild

27 lines
342 B
Text
Executable file

app=
version=
build=1sml
homepage=""
download=""
desc=""
requires=""
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}