mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/libcroco: modernise, add check, fix license
This commit is contained in:
parent
9e6609800b
commit
63875e36dd
@ -1,33 +1,33 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=libcroco
|
||||
pkgver=0.6.12
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="GNOME CSS2 parsing and manipulation toolkit"
|
||||
url="http://www.gnome.org"
|
||||
arch="all"
|
||||
license="LGPL"
|
||||
license="LGPL-2.1-only"
|
||||
subpackages="$pkgname-dev"
|
||||
depends=
|
||||
makedepends="glib-dev libxml2-dev"
|
||||
source="https://download.gnome.org/sources/$pkgname/0.6/$pkgname-$pkgver.tar.xz"
|
||||
|
||||
depends_dev="glib-dev libxml2-dev pkgconfig"
|
||||
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
sha512sums="af9a171d5ccded255b57f170576e67155f12fa0f61ab3e379e907975f77afc37e82e22772c6019b2897cffc15b2425faf3ccfda92b1a45b23eda2519debabeb6 libcroco-0.6.12.tar.xz"
|
||||
|
Loading…
Reference in New Issue
Block a user