mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/libpng: clarify license and improve abuild
This commit is contained in:
parent
505ff7688a
commit
c561d0ee3a
@ -4,9 +4,9 @@ pkgname=libpng
|
||||
pkgver=1.6.34
|
||||
pkgrel=1
|
||||
pkgdesc="Portable Network Graphics library"
|
||||
url="http://www.libpng.org/"
|
||||
url="http://www.libpng.org"
|
||||
arch="all"
|
||||
license="GPL"
|
||||
license="Libpng"
|
||||
depends=""
|
||||
depends_dev="zlib-dev"
|
||||
makedepends="$depends_dev gawk autoconf automake libtool"
|
||||
@ -38,14 +38,13 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C "$builddir" check
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
rm -f "$pkgdir"/usr/lib/*.la
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user