Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

SOURCE=$(find . -type f ! -path './test/*' -name "*.c")
HEADER="-I. -I/usr/local/include"
if [ "$(uname)" = "Linux" ]; then
if [ "$(uname)" = "Linux" -o "$(uname)" = "NetBSD" ]; then
LIBS="-L/usr/local/lib -lprinthex -lz"
else
LIBS="-L/usr/local/lib -lz -liconv -lprinthex"
Expand Down
7 changes: 6 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/sh

INSTALLPATH=/usr/local/bin
mkdir -p "$INSTALLPATH"

for SOURCE in id3edit id3show id3frames id3dump ; do
install -m 755 -v -o root $SOURCE $INSTALLPATH
if [ "$(uname)" = "NetBSD" -o "$(uname)" = "OpenBSD" ]; then
install -m 755 -o root $SOURCE $INSTALLPATH
else
install -m 755 -v -o root $SOURCE $INSTALLPATH
fi
done

strip $INSTALLPATH/id3edit
Expand Down