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

MAKEDEPS="make"
DEPS="tiff giflib bzip2 freetype2 libxext libpng libid3tag libjpeg-turbo libwebp xz librsvg"

PKG_VER=1.8.0
SOURCE=https://downloads.sourceforge.net/enlightenment/imlib2-$PKG_VER.tar.xz
DESC="Graphics library for fast file loading, saving, rendering and manipulation"

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

}

package () {
    make DESTDIR=$PKG_DEST install 
    install -m755 -d                        /usr/share/doc/imlib2-$PKG_VER &&
    install -m644    doc/index.html /usr/share/doc/imlib2-$PKG_VER
    install -m644    doc/*.gif /usr/share/doc/imlib2-$PKG_VER

}