wok view exempi/receipt @ rev 24055
Add current_version for most github hosted softwares
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Tue Jun 08 08:46:05 2021 +0000 (2021-06-08) | 
| parents | b14bb06fb621 | 
| children | 83d03a36ee6b | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="exempi"
     4 VERSION="2.5.1"
     5 CATEGORY="utilities"
     6 LICENSE="GPL3"
     7 SHORT_DESC="An implementation of XMP (Adobe's Extensible Metadata Platform)."
     8 MAINTAINER="yuripourre@gmail.com"
     9 WEB_SITE="https://wiki.freedesktop.org/libopenraw/Exempi/"
    11 TARBALL="$PACKAGE-$VERSION.tar.gz"
    12 WGET_URL="https://libopenraw.freedesktop.org/download/$TARBALL"
    14 DEPENDS="expat gcc83-lib-base"
    15 BUILD_DEPENDS="expat-dev gcc83 libboost-dev libboost-test-dev"
    17 # Rules to configure and make the package.
    18 compile_rules()
    19 {
    20 	# unrecognised:
    21 	#	--enable-static-no
    23 	./configure		\
    24 		CC=gcc-83	\
    25 		CXX=g++-83	\
    26 		--prefix=/usr	\
    27 		$CONFIGURE_ARGS &&
    28 	make &&
    29 	make DESTDIR=$DESTDIR install
    30 }
    32 # Rules to gen a SliTaz package suitable for Tazpkg.
    33 genpkg_rules()
    34 {
    35 	mkdir -p $fs/usr/lib
    36 	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    37 	cp -a $install/usr/bin		$fs/usr
    38 }