wok-next view libgusb/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 0e7893ac206d |
children | 1ca369c9f448 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgusb"
4 VERSION="0.2.11"
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="gobject-introspection-dev libxslt gtk-doc glib-dev libusb-dev"
16 SPLIT="libgusb-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libgusb)
29 copy @std
30 DEPENDS="glib libusb"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libgusb glib-dev libusb-dev"
35 ;;
36 esac
37 }