SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "file"

# SliTaz package receipt.

PACKAGE="file"
VERSION="5.09"
CATEGORY="system-tools"
SHORT_DESC="Retrieve file type."
MAINTAINER="erjo@slitaz.org"
DEPENDS="zlib libmagic"
BUILD_DEPENDS="zlib-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.darwinsys.com/file/"
WGET_URL="ftp://ftp.astron.com/pub/file/$TARBALL"
CROSS="bug"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --datarootdir=/usr/share \
        --build=$HOST_SYSTEM \
        --host=$HOST_SYSTEM &&
    make &&    make install
}

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