wok annotate libsde-utils/receipt @ rev 19089
cross/arm: fix build for aterm flex lame ppp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 30 20:15:47 2016 +0200 (2016-04-30) |
parents | |
children | 4cd6aef57b3a |
rev | line source |
---|---|
psychomaniak@19052 | 1 # SliTaz package receipt. |
psychomaniak@19052 | 2 |
psychomaniak@19052 | 3 PACKAGE="libsde-utils" |
psychomaniak@19052 | 4 VERSION="451ac07" |
psychomaniak@19052 | 5 CATEGORY="development" |
psychomaniak@19052 | 6 SHORT_DESC="SDE C Utility Library" |
psychomaniak@19052 | 7 MAINTAINER="al.bobylev@gmail.com" |
psychomaniak@19052 | 8 LICENSE="GPL" |
psychomaniak@19052 | 9 WEB_SITE="http://make-linux.org/" |
psychomaniak@19052 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19052 | 11 #BRANCH="451ac0770e789d91e87d7911aa41049a172aab26" |
psychomaniak@19052 | 12 #WGET_URL="git|git://make-linux.org/sde/libsde-utils.git" |
psychomaniak@19052 | 13 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL" |
psychomaniak@19052 | 14 |
psychomaniak@19052 | 15 DEPENDS="glib glibc-base" |
psychomaniak@19052 | 16 BUILD_DEPENDS="git cmake glib-dev libtool automake" |
psychomaniak@19052 | 17 # glib-2.0>=2.36 |
psychomaniak@19052 | 18 |
psychomaniak@19052 | 19 # Rules to configure and make the package. |
psychomaniak@19052 | 20 compile_rules() |
psychomaniak@19052 | 21 { |
psychomaniak@19052 | 22 rm -rf $src/.git |
psychomaniak@19052 | 23 # cmake -DCMAKE_INSTALL_PREFIX=/usr . && |
psychomaniak@19052 | 24 ./autogen.sh |
psychomaniak@19052 | 25 ./configure \ |
psychomaniak@19052 | 26 --prefix=/usr \ |
psychomaniak@19052 | 27 --sysconfdir=/etc \ |
psychomaniak@19052 | 28 --enable-silent-rules \ |
psychomaniak@19052 | 29 --with-gnu-ld || return 1 |
psychomaniak@19052 | 30 make && |
psychomaniak@19052 | 31 make install |
psychomaniak@19052 | 32 } |
psychomaniak@19052 | 33 |
psychomaniak@19052 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19052 | 35 genpkg_rules() |
psychomaniak@19052 | 36 { |
psychomaniak@19052 | 37 mkdir -p $fs/usr/lib |
psychomaniak@19052 | 38 # cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@19052 | 39 cp -a $install/* $fs |
psychomaniak@19052 | 40 } |