Commit | Line | Data |
---|---|---|
4c8c2b30 JB |
1 | # Description: Library of PNG support functions. |
2 | # URL: http://www.libpng.org | |
3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: zlib | |
6 | ||
7 | name=libpng | |
b4a24c69 | 8 | version=1.2.42 |
4c8c2b30 JB |
9 | release=1 |
10 | source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
b4a24c69 | 14 | |
4c8c2b30 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
18 | --mandir=/usr/man | |
b4a24c69 | 19 | |
4c8c2b30 JB |
20 | make |
21 | make DESTDIR=$PKG install | |
22 | } |