Commit dfcf2e45 authored by Natanael Copa's avatar Natanael Copa

main/libetpan: rebuild against db-4.8

parent 237c1460
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libetpan
pkgver=0.58
pkgrel=0
pkgrel=1
_dbver=4.8
pkgdesc="a portable middleware for email access"
url="http://www.etpan.org/"
license="custom:etpan"
......@@ -14,11 +15,15 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
build ()
{
cd "$srcdir"/$pkgname-$pkgver
sed -e 's/db-4.4/db-4.7/g' -i configure || return 1
sed -e "s/db-4.4/db-${_dbver}/g" -i configure || return 1
./configure --prefix=/usr \
--disable-static
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment