smlinux/base/expat/expat.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

34 lines
742 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=expat
version=2.5.0
build=1sml
homepage="https://downloads.sourceforge.net/project/expat/"
download="https://downloads.sourceforge.net/project/expat/expat/$version/expat-$version.tar.bz2"
desc="C library for parsing XML"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
0fbd6e39cd318ed77363be0321e3f40002ac1c2e3f3f69c41de45afd94887d9ff6b0685f374649a50acd78eda8bfa8c52a98349f9845941790319d9fa5734088 expat-2.5.0.tar.lz
"