# SliTaz package receipt. PACKAGE="swig" VERSION="2.0.4" CATEGORY="development" MAINTAINER="devel@slitaz.org" SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages" WEB_SITE="http://www.swig.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="compiler" DEPENDS="gcc-lib-base zlib pcre" BUILD_DEPENDS="pcre-dev zlib-dev pkg-config" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && 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/$PACKAGE $fs/usr/share }