mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +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
|
pkgver=1.6.34
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Portable Network Graphics library"
|
pkgdesc="Portable Network Graphics library"
|
||||||
url="http://www.libpng.org/"
|
url="http://www.libpng.org"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL"
|
license="Libpng"
|
||||||
depends=""
|
depends=""
|
||||||
depends_dev="zlib-dev"
|
depends_dev="zlib-dev"
|
||||||
makedepends="$depends_dev gawk autoconf automake libtool"
|
makedepends="$depends_dev gawk autoconf automake libtool"
|
||||||
@ -38,14 +38,13 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
make -C "$builddir" check
|
cd "$builddir"
|
||||||
|
make check
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
install -Dm644 LICENSE \
|
|
||||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
||||||
rm -f "$pkgdir"/usr/lib/*.la
|
rm -f "$pkgdir"/usr/lib/*.la
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user