# SliTaz package receipt. PACKAGE="yajl" VERSION="2.0.2" CATEGORY="development" SHORT_DESC="Yet Another JSON Library" MAINTAINER="slaxemulator@gmail.com" BUILD_DEPENDS="cmake doxygen git" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://github.com/lloyd/yajl" WGET_URL="git|git://github.com/lloyd/yajl.git" BRANCH="$VERSION" # Rules to configure and make the package. compile_rules() { cd $src cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ . make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $_pkg/usr $fs }