wok-6.x annotate libzen/receipt @ rev 20939
freeglut: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 02 17:40:45 2019 +0100 (2019-03-02) |
parents | 1ea9701ce3ca |
children | 4700d43dc494 |
rev | line source |
---|---|
al@18634 | 1 # SliTaz package receipt. |
al@18634 | 2 |
al@18634 | 3 PACKAGE="libzen" |
al@18634 | 4 VERSION="0.4.32" |
al@18634 | 5 CATEGORY="libdevel" |
al@18634 | 6 SHORT_DESC="ZenLib - small C++ derivative class to have a simpler life" |
al@18634 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18634 | 8 LICENSE="zlib/libpng" |
al@18634 | 9 WEB_SITE="http://mediaarea.net/" |
al@18634 | 10 TARBALL="${PACKAGE}_$VERSION.tar.bz2" |
al@18634 | 11 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL" |
al@18634 | 12 |
al@18634 | 13 DEPENDS="" |
al@18645 | 14 BUILD_DEPENDS="libtool" |
al@18634 | 15 |
al@18634 | 16 # Rules to configure and make the package. |
al@18634 | 17 compile_rules() |
al@18634 | 18 { |
al@18634 | 19 cd Project/GNU/Library |
al@18634 | 20 ./autogen.sh |
al@18634 | 21 ./configure \ |
al@18634 | 22 --prefix=/usr \ |
al@18634 | 23 --sysconfdir=/etc \ |
al@18634 | 24 $CONFIGURE_ARGS && |
al@18634 | 25 make && make install |
al@18634 | 26 |
al@18634 | 27 sed -i -e "s|$src/Project/GNU/Library|/usr/lib|" -e 's|/.libs||' \ |
al@18634 | 28 $install/usr/bin/libzen-config |
al@18634 | 29 } |
al@18634 | 30 |
al@18634 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18634 | 32 genpkg_rules() |
al@18634 | 33 { |
al@18634 | 34 cp -a $install/* $fs |
al@18634 | 35 } |