wok-next view 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 source
1 # SliTaz package receipt.
3 PACKAGE="libsde-utils"
4 VERSION="451ac07"
5 CATEGORY="development"
6 SHORT_DESC="SDE C Utility Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://make-linux.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 #BRANCH="451ac0770e789d91e87d7911aa41049a172aab26"
12 #WGET_URL="git|git://make-linux.org/sde/libsde-utils.git"
13 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
15 DEPENDS="glib glibc-base"
16 BUILD_DEPENDS="git cmake glib-dev libtool automake"
17 # glib-2.0>=2.36
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 rm -rf $src/.git
23 # cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
24 ./autogen.sh
25 ./configure \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --enable-silent-rules \
29 --with-gnu-ld || return 1
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 # cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/* $fs
40 }