# SliTaz package receipt. PACKAGE="file" VERSION="5.30" CATEGORY="system-tools" SHORT_DESC="Retrieve file type." MAINTAINER="erjo@slitaz.org" DEPENDS="zlib libmagic" BUILD_DEPENDS="zlib-dev python" 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 cd python && python setup.py build && python setup.py install --root=$DESTDIR } # 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/misc $fs/usr/share }