smlinux/buildsamples/sample.SMBuild
2022-01-31 00:59:08 +05:30

26 lines
336 B
Text
Executable file

APP=
VERSION=
BUILD=1sml
HOMEPAGE=""
DOWNLOAD=""
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
}