wok-next view libgusb/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children d635206a5649
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgusb"
4 VERSION="0.3.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="GObject wrapper for libusb1"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/hughsie/libgusb"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libgusb.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://people.freedesktop.org/~hughsient/releases/$TARBALL"
15 BUILD_DEPENDS="meson ninja glib-dev libusb-dev gobject-introspection-dev vala \
16 gtk-doc"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
23 meson-wrapper &&
24 ninja &&
25 ninja install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libgusb)
31 copy @std
32 DEPENDS="glib libusb"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libgusb glib-dev libusb-dev"
37 ;;
38 esac
39 }