summaryrefslogtreecommitdiff
path: root/repo/libpng/libpng.xibuild
blob: 8854355b780dcd4dad20aab0113610694773abd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

MAKEDEPS="make "
DEPS=""

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

prepare () {
    apply_patches
}

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

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

}