wok-next annotate libsdl-net/receipt @ rev 20526
Up mtpaint (3.49.13)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 17:51:29 2018 +0200 (2018-03-23) |
parents | 595097cb4e40 |
children | 5841522533ec |
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" |
pankso@1188 | 10 |
al@19965 | 11 TARBALL="SDL_net-$VERSION.tar.gz" |
al@19965 | 12 WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL" |
al@19965 | 13 |
pankso@10427 | 14 BUILD_DEPENDS="libsdl-dev" |
al@19965 | 15 SPLIT="libsdl-net-dev" |
pankso@10427 | 16 |
al@19965 | 17 compile_rules() { |
pankso@10427 | 18 ./configure $CONFIGURE_ARGS && make && make install |
pankso@1188 | 19 } |
pankso@1188 | 20 |
al@19965 | 21 genpkg_rules() { |
al@19965 | 22 case $PACKAGE in |
al@19965 | 23 libsdl-net) |
al@19965 | 24 copy @std |
al@19965 | 25 DEPENDS="libsdl" |
al@19965 | 26 ;; |
al@19965 | 27 *-dev) |
al@19965 | 28 copy @dev |
al@19965 | 29 DEPENDS="libsdl-net libsdl-dev" |
al@19965 | 30 ;; |
al@19965 | 31 esac |
pankso@1188 | 32 } |