smlinux/buildsamples/smbuild

28 lines
338 B
Bash
Executable file

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