SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorg-makedepend"

# SliTaz package receipt.

PACKAGE="xorg-makedepend"
VERSION="1.0.6"
CATEGORY="development"
SHORT_DESC="Create dependencies in makefiles."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="other"
WEB_SITE="https://www.x.org/wiki/"

SOURCE="makedepend"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="$XORG_MIRROR/util/$TARBALL"

DEPENDS="glibc-base xorg-xproto"
BUILD_DEPENDS="xorg-xproto"

current_version()
{
    wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --sysconfdir=/etc    \
        --localstatedir=/var    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/licenses

    cp -a $src/COPYING    $fs/usr/share/licenses/$PACKAGE.txt
    cp -a $install/usr/bin    $fs/usr
}
6047 packages and 206162 files in current database (Tue Jun 18 11:34:18 2024)