smlinux/extra/feh/feh.SMBuild

33 lines
811 B
Text
Executable file

APP=feh
VERSION=3.1.1
BUILD=1sml
HOMEPAGE="https://feh.finalrewind.org"
HOMEPAGE="https://feh.finalrewind.org/feh-3.1.1.tar.bz2"
DESC="Fast and lightweight image viewer for X"
REQUIRES="curl imlib2 libexif libxinerama libxt "
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
CFLAGS="$CFLAGS -D_GNU_SOURCE -include string.h" \
make PREFIX="/" \
exif=1 help=1
make install DESTDIR=$PKG PREFIX="/" \
man_dir=$PKG/share/man \
doc_dir=$PKG/doc/$APP-$VERSION \
example_dir=$PKG/doc/$APP-$VERSION/examples
cp COPYING $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
b1a20463c9c54212f51af0af98d762dc1d1c774105c69b9c21a04b3835b817af47a5efd1c2ff741cc596c53844d09c20c979d606a82a1915aa4ad2cdf2a3fca4 feh-3.1.1.tar.lz
"