jinx: libpng port

This commit is contained in:
Matheus
2023-02-12 17:16:15 -03:00
parent 2411b31fa0
commit 95291753eb
2 changed files with 34 additions and 0 deletions
+25
View File
@@ -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}"
}
+9
View File
@@ -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
}