Skip to content

Instantly share code, notes, and snippets.

Created August 10, 2012 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3314590 to your computer and use it in GitHub Desktop.
Save anonymous/3314590 to your computer and use it in GitHub Desktop.
libusbx.patch
--- /usr/ports/core/libusb/Pkgfile 2012-07-08 15:40:37.287273778 +0700
+++ ports/local/libusb/Pkgfile 2012-06-23 09:47:40.872032384 +0700
@@ -3,12 +3,12 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=libusb
-version=1.0.9
-release=2
-source=(http://downloads.sourceforge.net/project/$name/$name-1.0/$name-$version/$name-$version.tar.bz2)
+version=1.0.12
+release=1
+source=(http://downloads.sourceforge.net/project/libusbx/releases/$version/source/libusbx-$version.tar.bz2)
build () {
- cd $name-$version
+ cd ${name}x-$version
./configure --prefix=/usr
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment