smlinux/base/libexif/libexif.SMBuild
PktSurf 2818c6283f Fixed documentation directory-related build options in several build files
Removed extraneous README file in extra/FEH
Discarded DEBUG=0 build flag in extra/cmus
2023-03-30 20:30:49 +05:30

33 lines
769 B
Text
Executable file

app=libexif
version=0.6.22
mversion="(echo $version | sed 's@_@.)"
build=2sml
homepage="https://libexif.github.io/"
download="https://github.com/libexif/libexif/releases/download/libexif-$mversion-release/libexif-$version.tar.xz"
desc="Exchangeable Image File Format library"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--docdir="/share/doc/$app-$version" \
--disable-static
make
make install DESTDIR=$pkg
mkfinalpkg
}
sha512sums="
bb5ad5e68bc32142c61c46ddf72f8b3734b5ec2fcd9c5682eafe44ddf2a84f76c646b2d497ccfe590c61f13f315fc7c44623685c316d9ff77a289e877978318a libexif-0.6.22.tar.lz
"