wok annotate exempi/receipt @ rev 23515

busybox: musl & diet may fail (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 12:11:08 2020 +0200 (2020-04-06)
parents b14bb06fb621
children 83d03a36ee6b
rev   line source
yuripourre@16980 1 # SliTaz package receipt.
yuripourre@16980 2
yuripourre@16980 3 PACKAGE="exempi"
Hans-G?nter@22709 4 VERSION="2.5.1"
yuripourre@16980 5 CATEGORY="utilities"
yuripourre@16980 6 LICENSE="GPL3"
yuripourre@16980 7 SHORT_DESC="An implementation of XMP (Adobe's Extensible Metadata Platform)."
yuripourre@16980 8 MAINTAINER="yuripourre@gmail.com"
Hans-G?nter@22709 9 WEB_SITE="https://wiki.freedesktop.org/libopenraw/Exempi/"
Hans-G?nter@22709 10
yuripourre@16981 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 12 WGET_URL="https://libopenraw.freedesktop.org/download/$TARBALL"
yuripourre@16980 13
Hans-G?nter@22709 14 DEPENDS="expat gcc83-lib-base"
Hans-G?nter@22709 15 BUILD_DEPENDS="expat-dev gcc83 libboost-dev libboost-test-dev"
yuripourre@16980 16
yuripourre@16980 17 # Rules to configure and make the package.
yuripourre@16980 18 compile_rules()
yuripourre@16980 19 {
Hans-G?nter@22709 20 # unrecognised:
Hans-G?nter@22709 21 # --enable-static-no
Hans-G?nter@22709 22
Hans-G?nter@22709 23 ./configure \
Hans-G?nter@22709 24 CC=gcc-83 \
Hans-G?nter@22709 25 CXX=g++-83 \
Hans-G?nter@22709 26 --prefix=/usr \
yuripourre@16980 27 $CONFIGURE_ARGS &&
yuripourre@16980 28 make &&
yuripourre@16980 29 make DESTDIR=$DESTDIR install
yuripourre@16980 30 }
yuripourre@16980 31
yuripourre@16980 32 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@16980 33 genpkg_rules()
yuripourre@16980 34 {
yuripourre@16980 35 mkdir -p $fs/usr/lib
Hans-G?nter@22709 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@22711 37 cp -a $install/usr/bin $fs/usr
yuripourre@16980 38 }