Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
add libgd recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
groutr committed Mar 5, 2016
1 parent 39b766b commit 930d8df
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libgd/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX \
-DENABLE_PNG=1 \
-DENABLE_JPEG=1 \
-DENABLE_TIFF=1 \
-DENABLE_FREETYPE=1 \
-DENABLE_WEBP=1 $SRC_DIR

cmake --build . --config Release

cmake --build . --target install

28 changes: 28 additions & 0 deletions libgd/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package:
version: 2.1.1
name: libgd

source:
git_url: https://github.com/libgd/libgd.git
git_tag: gd-2.1.1


requirements:
build:
- cmake
- libpng 1.6.*
- libtiff 4.0.*
- jpeg
- freetype 2.5.*
- libwebp 0.5.*
run:
- libpng 1.6.*
- libtiff 4.0.*
- jpeg
- freetype 2.5.*
- libwebp 0.5.*
about:
home: https://github.com/libgd/libgd
summary: GD graphics library
license: Other
license_file: COPYING

0 comments on commit 930d8df

Please sign in to comment.