wok rev 16246
Add libpfm and libdisasm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 15:00:43 2014 +0000 (2014-04-03) |
parents | 033f4b0fc8e1 |
children | eaed0faf063c |
files | libdisasm-dev/receipt libdisasm/receipt libpfm-dev/receipt libpfm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libdisasm-dev/receipt Thu Apr 03 15:00:43 2014 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libdisasm-dev" 1.7 +VERSION="0.23" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="x86 Disassembler Library, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Artistic" 1.12 +WEB_SITE="http://bastard.sourceforge.net/libdisasm.html" 1.13 +WANTED="libdisasm" 1.14 + 1.15 +DEPENDS="libdisasm" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $install/usr/include $fs/usr 1.22 + cp -a $install/usr/lib/*a $fs/usr/lib 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libdisasm/receipt Thu Apr 03 15:00:43 2014 +0000 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libdisasm" 2.7 +VERSION="0.23" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="x86 Disassembler Library." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="Artistic" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://bastard.sourceforge.net/libdisasm.html" 2.14 +WGET_URL="$SF_MIRROR/bastard/$TARBALL" 2.15 + 2.16 +DEPENDS="" 2.17 +BUILD_DEPENDS="" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + ./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \ 2.23 + --prefix=/usr \ 2.24 + --mandir=/usr/share/man \ 2.25 + $CONFIGURE_ARGS && 2.26 + make && 2.27 + make DESTDIR=$DESTDIR install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/lib 2.34 + cp -a $install/usr/bin $fs/usr 2.35 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.36 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libpfm-dev/receipt Thu Apr 03 15:00:43 2014 +0000 3.3 @@ -0,0 +1,20 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="libpfm-dev" 3.7 +VERSION="4.5.0" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="Improve performance monitoring on Linux, development files." 3.10 +MAINTAINER="pascal.bellard@slitaz.org" 3.11 +LICENSE="MIT" 3.12 +WEB_SITE="http://perfmon2.sourceforge.net/" 3.13 +WANTED="libpfm" 3.14 + 3.15 +DEPENDS="libpfm" 3.16 + 3.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 +genpkg_rules() 3.19 +{ 3.20 + mkdir -p $fs/usr/lib 3.21 + cp -a $install/usr/include $fs/usr 3.22 + cp -a $install/usr/lib/*a $fs/usr/lib 3.23 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/libpfm/receipt Thu Apr 03 15:00:43 2014 +0000 4.3 @@ -0,0 +1,29 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="libpfm" 4.7 +VERSION="4.5.0" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="Improve performance monitoring on Linux." 4.10 +MAINTAINER="pascal.bellard@slitaz.org" 4.11 +LICENSE="MIT" 4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.13 +WEB_SITE="http://perfmon2.sourceforge.net/" 4.14 +WGET_URL="$SF_MIRROR/perfmon2/$TARBALL" 4.15 + 4.16 +DEPENDS="" 4.17 +BUILD_DEPENDS="" 4.18 + 4.19 +# Rules to configure and make the package. 4.20 +compile_rules() 4.21 +{ 4.22 + sed -i 's|PREFIX=/usr/local|PREFIX=/usr|' config.mk 4.23 + make OPTIM="-m32 -O3" && 4.24 + make DESTDIR=$DESTDIR install 4.25 +} 4.26 + 4.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.28 +genpkg_rules() 4.29 +{ 4.30 + mkdir -p $fs/usr/lib 4.31 + cp -a $install/usr/lib/*.so* $fs/usr/lib 4.32 +}