SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "freetype1"

# SliTaz package receipt.

PACKAGE="freetype1"
SOURCE="freetype"
VERSION="1.3.1"
CATEGORY="x-window"
SHORT_DESC="Freetype1 font engine."
MAINTAINER="rcx@zoominternet.net"
DEPENDS="glibc-base"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.freetype.org/"
WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    # NOTE: DESTDIR is not recognized by freetype1 make install

    cd $src
    ./configure \
        --sysconfdir=$PWD/_pkg/etc \
        --prefix=$PWD/_pkg/usr \
        --mandir=$PWD/_pkg/usr/share/man \
        --includedir=$PWD/_pkg/usr/include \
        --libdir=$PWD/_pkg/usr/lib \
        --with-x --enable-gif \
        $CONFIGURE_ARGS &&
    make ttlib ttpo || return 1

    cd lib
    make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
    cd ../po
    make DESTDIR=$PWD/_pkg -f Makefile install || return 1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)