wok-next diff libsde-utils/receipt @ rev 19276
get-vivaldi: fix rpm url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 05 16:47:32 2016 +0200 (2016-07-05) |
parents | |
children | 757d032c55c7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsde-utils/receipt Tue Jul 05 16:47:32 2016 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libsde-utils" 1.7 +VERSION="451ac07" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="SDE C Utility Library" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL" 1.12 +WEB_SITE="http://make-linux.org/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.14 +#BRANCH="451ac0770e789d91e87d7911aa41049a172aab26" 1.15 +#WGET_URL="git|git://make-linux.org/sde/libsde-utils.git" 1.16 +WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL" 1.17 + 1.18 +DEPENDS="glib glibc-base" 1.19 +BUILD_DEPENDS="git cmake glib-dev libtool automake" 1.20 +# glib-2.0>=2.36 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + rm -rf $src/.git 1.26 + # cmake -DCMAKE_INSTALL_PREFIX=/usr . && 1.27 + ./autogen.sh 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + --sysconfdir=/etc \ 1.31 + --enable-silent-rules \ 1.32 + --with-gnu-ld || return 1 1.33 + make && 1.34 + make install 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr/lib 1.41 + # cp -a $install/usr/lib/*.so* $fs/usr/lib 1.42 + cp -a $install/* $fs 1.43 +}