Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
71522ce1
Commit
71522ce1
authored
12 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
add libusb-compat
SVN-Revision: 35387
parent
65657fb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/libs/libusb-compat/Makefile
+49
-0
49 additions, 0 deletions
package/libs/libusb-compat/Makefile
with
49 additions
and
0 deletions
package/libs/libusb-compat/Makefile
0 → 100644
+
49
−
0
View file @
71522ce1
#
# Copyright (C) 2010-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include
$(TOPDIR)/rules.mk
PKG_NAME
:=
libusb-compat
PKG_VERSION
:=
0.1.4
PKG_RELEASE
:=
1
PKG_SOURCE
:=
$(
PKG_NAME
)
-
$(
PKG_VERSION
)
.tar.bz2
PKG_SOURCE_URL
:=
@SF/libusb
PKG_MD5SUM
:=
2ca521fffadd0c28fdf174e6ec73865b
PKG_INSTALL
:=
1
PKG_BUILD_PARALLEL
:=
1
PKG_MAINTAINER
:=
Felix Fietkau <nbd@openwrt.org>
include
$(INCLUDE_DIR)/package.mk
define
Package/libusb-compat
SECTION
:=
libs
CATEGORY
:=
Libraries
TITLE
:=
libusb-0.1 compatibility library
DEPENDS
:=
+libusb-1.0
URL
:=
http://libusb.wiki.sourceforge.net/
endef
define
Package/libusb-compat/description
libusb
is
a
C
library
that
gives
applications
easy
access
to
USB
devices
on
many
different
operating
systems.
endef
TARGET_CFLAGS
+=
$(
FPIC
)
define
Build/InstallDev
$(CP)
$(PKG_INSTALL_DIR)/*
$(1)/
endef
define
Package/libusb-compat/install
$(INSTALL_DIR)
$(1)/usr/lib
$(CP)
$(PKG_INSTALL_DIR)/usr/lib/libusb-0.1.so*
$(1)/usr/lib/
endef
$(
eval
$(
call BuildPackage,libusb-compat
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment