Ports: Add libuuid

This commit is contained in:
Linus Groh 2021-09-10 19:55:30 +01:00 committed by Andreas Kling
parent f646d49ac1
commit 8b3e1c0016
Notes: sideshowbarker 2024-07-18 04:18:58 +09:00
2 changed files with 21 additions and 0 deletions

View file

@ -82,6 +82,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ |
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |
| [`libuuid`](libuuid/) | libuuid (from util-linux) | 2.37.2 | https://github.com/karelzak/util-linux/tree/master/libuuid |
| [`libuv`](libuv/) | libuv | b12699b | https://github.com/libuv/libuv |
| [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis |
| [`libxml2`](libxml2/) | libxml2 | 2.9.12 | http://www.xmlsoft.org/ |

20
Ports/libuuid/package.sh Executable file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libuuid
version=2.37.2
workdir="util-linux-${version}"
useconfigure=true
configopts="--prefix=/usr/local --disable-all-programs --enable-libuuid"
files="https://github.com/karelzak/util-linux/archive/refs/tags/v${version}.tar.gz util-linux-${version}.tar.gz 74e725802a6355bba7288caeca171e0e25d9da2aa570162efbc1397ed924dfa2
https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=2707e389a5c8ec14db468cdc4979864cd57b53f5 config.sub 698198944a59f5915b3f68dc9d642f573aeb8960307493a5693e6b148d5bb4c6"
auth_type=sha256
pre_configure() {
# NOTE: This requires various tools to exist on the host machine (it'll tell you).
run ./autogen.sh
# The generated config.sub is a *symlink* to the host's.
# The one from GNU config should be similar enough, and recognizes serenity.
run rm -f config/config.sub
run cp ../config.sub config
}