summaryrefslogtreecommitdiff
path: root/repo/system/libpng.xibuild
blob: e434a5a2434d92f3bd9aa044bc550fa6ef897dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

DEPS=()

PKG_VER=1.6.37
SOURCE=https://downloads.sourceforge.net/libpng/libpng-$PKG_VER.tar.xz
DESC="A collection of routines used to create PNG images"


build () {
    ./configure --prefix=/usr --disable-static &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install 
    mkdir -v /usr/share/doc/libpng-$PKG_VER &&
    cp -v README libpng-manual.txt /usr/share/doc/libpng-$PKG_VER

}