smlinux/base/libetpan/libetpan.SMBuild

34 lines
756 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libetpan
version=1.9.4
build=1sml
homepage="https://www.etpan.org/"
download="https://github.com/dinhvh/libetpan/archive/refs/tags/$version.tar.gz"
desc="Middleware library providing various APIs to access mail"
requires="gcc-libs db expat curl"
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 COPYRIGHT $pkgdocs/
mkfinalpkg
}
sha512sums="
aa3d91ac305f9a9a80946714008702f9f11507265275702040b6c034122b30cd9c639e378ae135e6617302f6810f617126a0b74f3594308b10beeb182549ebe8 libetpan-1.9.4.tar.lz
"