wok-next view libgusb/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 757d032c55c7 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgusb"
4 VERSION="0.3.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="GUsb is a 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/stable/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="libgusb-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 }