# SliTaz package receipt. PACKAGE="libsde-utils-x11" BRANCH="461fb9326645f245734041068332e14b22d500cd" VERSION=${BRANCH:0:7} CATEGORY="development" SHORT_DESC="SDE X11 Utility Library" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL" WEB_SITE="https://github.com/sde-gui/libsde-utils" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="git|git://make-linux.org/sde/libsde-utils-x11.git" DEPENDS="libsde-utils xorg-libX11" BUILD_DEPENDS="git cmake xorg-dev libsde-utils" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/commits/master 2>/dev/null | \ sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' } # Rules to configure and make the package. compile_rules() { rm -rf $src/.git cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib # cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/* $fs }