wok-next view libgusb/receipt @ rev 20491
More packing...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Mar 13 02:04:32 2018 +0200 (2018-03-13) |
parents | 2d54d154d5ca |
children | 757d032c55c7 |
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 fix ld
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgusb)
30 copy @std
31 DEPENDS="glib libusb"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libgusb glib-dev libusb-dev"
36 ;;
37 esac
38 }