wok-current annotate cppunit/receipt @ rev 25109
Up perl-date-manip (6.88)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 25 09:21:55 2022 +0000 (2022-06-25) |
parents | b9c744416436 |
children |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="cppunit" |
Hans-G?nter@22617 | 4 VERSION="1.15.1" |
pascal@11219 | 5 CATEGORY="system-tools" |
pascal@11219 | 6 SHORT_DESC="A C++ unit testing framework." |
pascal@11219 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@22617 | 9 WEB_SITE="https://freedesktop.org/wiki/Software/cppunit/" |
Hans-G?nter@22617 | 10 |
pascal@11219 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22617 | 12 WGET_URL="https://dev-www.libreoffice.org/src/$TARBALL" |
Hans-G?nter@22617 | 13 |
Hans-G?nter@22617 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22617 | 15 BUILD_DEPENDS="gcc83" |
pascal@11219 | 16 |
pascal@24436 | 17 # What is the latest version available today? |
pascal@24436 | 18 current_version() |
pascal@24436 | 19 { |
pascal@24436 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24436 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24436 | 22 } |
pascal@24436 | 23 |
pascal@11219 | 24 # Rules to configure and make the package. |
pascal@11219 | 25 compile_rules() |
pascal@11219 | 26 { |
Hans-G?nter@22617 | 27 ./configure \ |
Hans-G?nter@22617 | 28 CC=gcc-83 \ |
Hans-G?nter@22617 | 29 CXX=g++-83 \ |
Hans-G?nter@22617 | 30 --prefix=/usr \ |
pascal@11219 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22617 | 32 make && |
Hans-G?nter@22617 | 33 make install |
pascal@11219 | 34 } |
pascal@11219 | 35 |
pascal@11219 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 37 genpkg_rules() |
pascal@11219 | 38 { |
pascal@11219 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22617 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11219 | 41 } |