SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pkg-config"

# SliTaz package receipt.

PACKAGE="pkg-config"
VERSION="0.25"
CATEGORY="development"
SHORT_DESC="Free desktop packages manager."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://pkgconfig.freedesktop.org/wiki/"
WGET_URL="http://pkgconfig.freedesktop.org/releases/$TARBALL"

DEPENDS="glibc-base"
BUILD_DEPENDS="gcc"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -p1 < $stuff/autoconf-2.66.patch
    ./configure \
        --program-prefix=$TOOLPREFIX \
        --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/share/aclocal $fs/usr/share
    # This is the default pkg-config so make a symling for package that dont
    # cross compile or search for /usr/bin/pkg-config.
    cd $fs/usr/bin && ln -s ${TOOLPREFIX}pkg-config pkg-config
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)