wok view libsde-utils/receipt @ rev 22102
Add python-attr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 01 15:22:59 2019 +0100 (2019-11-01) |
parents | 4cd6aef57b3a |
children | 34e801e0eb52 |
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="https://github.com/sde-gui/libsde-utils"
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 file"
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 }