wok-next annotate libsdl-net/receipt @ rev 20936
Update cmake
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 24 15:44:57 2018 +0300 (2018-08-24) |
parents | 5841522533ec |
children | d5aab818505e |
rev | line source |
---|---|
al@19965 | 1 # SliTaz package receipt v2. |
pankso@1188 | 2 |
pankso@1188 | 3 PACKAGE="libsdl-net" |
al@19965 | 4 VERSION="1.2.8" |
pankso@1188 | 5 CATEGORY="x-window" |
al@19965 | 6 SHORT_DESC="SDL net support" |
pankso@1188 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@19965 | 9 WEB_SITE="http://www.libsdl.org/projects/SDL_net/release-1.2.html" |
al@20883 | 10 REPOLOGY="sdl-net" |
pankso@1188 | 11 |
al@19965 | 12 TARBALL="SDL_net-$VERSION.tar.gz" |
al@19965 | 13 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" |
al@19965 | 14 |
pankso@10427 | 15 BUILD_DEPENDS="libsdl-dev" |
al@19965 | 16 SPLIT="libsdl-net-dev" |
pankso@10427 | 17 |
al@19965 | 18 compile_rules() { |
al@20595 | 19 ./configure $CONFIGURE_ARGS && |
al@20595 | 20 fix libtool && |
al@20595 | 21 make && |
al@20595 | 22 make install |
pankso@1188 | 23 } |
pankso@1188 | 24 |
al@19965 | 25 genpkg_rules() { |
al@19965 | 26 case $PACKAGE in |
al@19965 | 27 libsdl-net) |
al@19965 | 28 copy @std |
al@19965 | 29 DEPENDS="libsdl" |
al@19965 | 30 ;; |
al@19965 | 31 *-dev) |
al@19965 | 32 copy @dev |
al@19965 | 33 DEPENDS="libsdl-net libsdl-dev" |
al@19965 | 34 ;; |
al@19965 | 35 esac |
pankso@1188 | 36 } |