mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/libart-lgpl: modernise, mark no tests, fix license
This commit is contained in:
parent
0d72273a6a
commit
e1f6dc356e
@ -5,32 +5,34 @@ pkgrel=5
|
|||||||
pkgdesc="A library for high-performance 2D graphics"
|
pkgdesc="A library for high-performance 2D graphics"
|
||||||
url="http://www.levien.com/libart/"
|
url="http://www.levien.com/libart/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="LGPL"
|
options="!check" # No test suite.
|
||||||
|
license="LGPL-2.0+"
|
||||||
depends=
|
depends=
|
||||||
makedepends=
|
makedepends=
|
||||||
subpackages="$pkgname-dev"
|
subpackages="$pkgname-dev"
|
||||||
source="https://download.gnome.org/sources/libart_lgpl/2.3/libart_lgpl-$pkgver.tar.bz2
|
source="https://download.gnome.org/sources/libart_lgpl/2.3/libart_lgpl-$pkgver.tar.bz2
|
||||||
"
|
"
|
||||||
|
|
||||||
_builddir="$srcdir"/libart_lgpl-$pkgver
|
builddir="$srcdir"/libart_lgpl-$pkgver
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
update_config_sub || return 1
|
update_config_sub
|
||||||
|
default_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
./configure \
|
./configure \
|
||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
--prefix=/usr \
|
--prefix=/usr
|
||||||
|| return 1
|
make
|
||||||
make || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="8a632a6a4da59e5e8c02ec2f5a57e36d182b325b46513765425e5f171ff9ae326af1b133725beba28f7e76654309e001aee9bace727b5b4c8589405256a3c020 libart_lgpl-2.3.21.tar.bz2"
|
sha512sums="8a632a6a4da59e5e8c02ec2f5a57e36d182b325b46513765425e5f171ff9ae326af1b133725beba28f7e76654309e001aee9bace727b5b4c8589405256a3c020 libart_lgpl-2.3.21.tar.bz2"
|
||||||
|
Loading…
Reference in New Issue
Block a user