Commit cfef7fd0 authored by Leo's avatar Leo Committed by Natanael Copa

main/libspf2: fix url fix license

parent f5830ab0
......@@ -3,14 +3,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libspf2
pkgver=1.2.10
pkgrel=3
pkgrel=4
pkgdesc="Sender Policy Framework library, a part of the SPF/SRS protocol pair."
url="http://www.libspf2.org"
url="https://wiki.gnome.org/Projects/Libsecret"
arch="all"
license="LGPL-2.1 BSD-2"
license="LGPL-2.1-or-later OR BSD-2-Clause"
subpackages="$pkgname-dev $pkgname-tools"
makedepends="autoconf automake libtool"
depends=
source="http://www.libspf2.org/spf/$pkgname-$pkgver.tar.gz
00001.patch
00002.patch
......@@ -19,14 +18,13 @@ source="http://www.libspf2.org/spf/$pkgname-$pkgver.tar.gz
fix-gcc-variadic-macros.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
cd "$builddir"
update_config_sub
rm -r src/libreplace
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
*.patch) msg $i; patch -p1 -i "$srcdir"/$i ;;
esac
done
libtoolize --force && aclocal && automake --add-missing && autoconf \
......@@ -34,18 +32,17 @@ prepare() {
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
--prefix=/usr
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
tools() {
......
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