
Receipt for package "libgd"
# SliTaz package receipt. PACKAGE="libgd" VERSION="2.3.3" CATEGORY="graphics" SHORT_DESC="Library for the dynamic creation of images." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://libgd.github.io/" REPOLOGY="gd" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/gd-$VERSION/$TARBALL" HOST_ARCH="i486 arm x86_64" DEPENDS="expat fontconfig freetype libjpeg libpng libxml2 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXpm zlib" BUILD_DEPENDS="expat-dev freetype-dev jpeg-dev libpng-dev libxml2-dev tiff-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev" # Cross compilation use some build host tools case "$ARCH" in (arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;; esac # What is the latest version available today? current_version() { wget -O - https://github.com/libgd/libgd/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" ./configure \ --prefix=/usr \ --enable-gd-formats \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_files *.so* }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)