mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
jinx: libpng port
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name=libpng
|
||||
revision=1
|
||||
from_source=libpng
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross"
|
||||
deps="mlibc zlib"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
name=libpng
|
||||
version=1.6.37
|
||||
source_method=tarball
|
||||
tarball_url="https://downloads.sourceforge.net/libpng/libpng-${version}.tar.xz"
|
||||
tarball_sha512=59e8c1059013497ae616a14c3abbe239322d3873c6ded0912403fc62fb260561768230b6ab997e2cccc3b868c09f539fd13635616b9fa0dd6279a3f63ec7e074
|
||||
hostdeps="autoconf automake libtool pkgconfig"
|
||||
regenerate() {
|
||||
autoreconf -vfi
|
||||
}
|
||||
Reference in New Issue
Block a user