wok-6.x annotate libsdl2-dev/receipt @ rev 17104
Add libsdl2 (thanks necrophcodr)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 30 14:16:28 2014 +0000 (2014-08-30) |
parents | |
children | 5b063a7e40ae |
rev | line source |
---|---|
pascal@17104 | 1 # SliTaz package receipt. |
pascal@17104 | 2 |
pascal@17104 | 3 PACKAGE="libsdl2-dev" |
pascal@17104 | 4 VERSION="2.0.3" |
pascal@17104 | 5 CATEGORY="development" |
pascal@17104 | 6 SHORT_DESC="a cross-platform interactive media development library - dev files" |
pascal@17104 | 7 MAINTAINER="tcg.thegamer@gmail.com" |
pascal@17104 | 8 LICENSE="zlib" |
pascal@17104 | 9 TARBALL="SDL2-$VERSION.tar.gz" |
pascal@17104 | 10 WEB_SITE="http://libsdl.org" |
pascal@17104 | 11 WGET_URL="${WEB_SITE}/release/${TARBALL}" |
pascal@17104 | 12 |
pascal@17104 | 13 WANTED="libsdl2" |
pascal@17104 | 14 |
pascal@17104 | 15 DEPENDS="libsdl2" |
pascal@17104 | 16 |
pascal@17104 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17104 | 18 genpkg_rules() |
pascal@17104 | 19 { |
pascal@17104 | 20 mkdir -p $fs/usr/lib |
pascal@17104 | 21 cp -a $install/usr/share $fs/usr |
pascal@17104 | 22 cp -a $install/usr/include $fs/usr |
pascal@17104 | 23 cp -a $install/usr/lib/*a $fs/usr/lib |
pascal@17104 | 24 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@17104 | 25 } |