wok-next diff libcue/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libcue/receipt	Tue Sep 01 10:31:46 2020 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="libcue"
     1.7 +VERSION="2.2.1"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="CUE Sheet Parser Library"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://github.com/lipnitsk/libcue"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/lipnitsk/libcue/archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +BUILD_DEPENDS="cmake bison flex"
    1.18 +SPLIT="$PACKAGE-dev"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	mkdir build
    1.22 +	cd    build
    1.23 +	cmake \
    1.24 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.25 +		-DCMAKE_INSTALL_LIBDIR=lib \
    1.26 +		-DBUILD_SHARED_LIBS=true \
    1.27 +		.. &&
    1.28 +	make &&
    1.29 +	make install
    1.30 +}
    1.31 +
    1.32 +genpkg_rules() {
    1.33 +	case $PACKAGE in
    1.34 +		libcue) copy @std;;
    1.35 +		*-dev)  copy @dev;;
    1.36 +	esac
    1.37 +}