diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-29 23:15:54 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-29 23:15:54 +0800 |
| commit | ae4593e20cef97c7323d522b40994a59425cd6d5 (patch) | |
| tree | 7b3e8750bbbfa32e917869e325027108ee59ee85 /repos/xorg/uthash | |
| parent | b5aa76f45da627817380276080b2b8bba6e74f68 (diff) | |
| download | alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.tar.gz alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.zip | |
added xorg repo
Diffstat (limited to 'repos/xorg/uthash')
| -rw-r--r-- | repos/xorg/uthash/.files | 8 | ||||
| -rw-r--r-- | repos/xorg/uthash/abuild | 15 |
2 files changed, 23 insertions, 0 deletions
diff --git a/repos/xorg/uthash/.files b/repos/xorg/uthash/.files new file mode 100644 index 00000000..5c261537 --- /dev/null +++ b/repos/xorg/uthash/.files @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/utarray.h +-rw-r--r-- root/root usr/include/uthash.h +-rw-r--r-- root/root usr/include/utlist.h +-rw-r--r-- root/root usr/include/utringbuffer.h +-rw-r--r-- root/root usr/include/utstack.h +-rw-r--r-- root/root usr/include/utstring.h diff --git a/repos/xorg/uthash/abuild b/repos/xorg/uthash/abuild new file mode 100644 index 00000000..43bab6ee --- /dev/null +++ b/repos/xorg/uthash/abuild @@ -0,0 +1,15 @@ +name=uthash +version=2.3.0 +release=1 +source="https://github.com/troydhanson/$name/archive/v$version/$name-$version.tar.gz" + +build() { + cd src + # create directory for header files + install -dm755 $PKG/usr/include/ + + # install header files in /usr/include + for h in *.h; do + install -m 644 ${h} $PKG/usr/include/ + done +} |