wok-next view libcue/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libcue"
4 VERSION="2.2.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="CUE Sheet Parser Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lipnitsk/libcue"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/lipnitsk/libcue/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake bison flex"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_INSTALL_LIBDIR=lib \
23 -DBUILD_SHARED_LIBS=true \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libcue) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }