# SliTaz package receipt. PACKAGE="yajl" VERSION="2.1.0" CATEGORY="development" SHORT_DESC="Yet Another JSON Library." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" WEB_SITE="https://lloyd.github.io/yajl/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/lloyd/$PACKAGE/archive/refs/tags/$VERSION.tar.gz" BUILD_DEPENDS="cmake doxygen git" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { cmake . \ -DCMAKE_INSTALL_PREFIX=/usr && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }