wok view libsde-utils/receipt @ rev 19871
linld/tazboot: fix magic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 17:22:13 2017 +0200 (2017-03-30) |
parents | |
children | 4cd6aef57b3a |
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 }