kiss-repo

personal package repository
git clone git://bvnf.space/kiss-repo.git
Log | Files | Refs | README | LICENSE

build (413B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
#!/bin/sh -e

patch -p1 < fix_build.patch

for f in string_entry.c button.c dialog.c drawing.c drawingP.h grabpix.c list.c \
    menu.c scrollbar.c toggle.c; do
    sed 's/Xaw3dxft/Xaw/g' "src/$f" >_
    mv _ "src/$f"
done

./configure \
    --prefix=/usr

make -j1
make DESTDIR="$1" install

mkdir -p \
    "$1/usr/share/doc/libsx/html" \
    "$1/usr/share/doc/libsx/text"
cp -R docs/* "$1/usr/share/doc/libsx/"