wok-next annotate unshield/receipt @ rev 20445
gcc: fix symlink /lib/cpp; glibc: undo '--enable-obsolete-rpc' due to errors; libtirpc: up 1.0.2; pam and busybox: use libtirpc.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Feb 27 14:06:41 2018 +0200 (2018-02-27) |
parents | 23c3aed67cd9 |
children | 10df65db91ad |
rev | line source |
---|---|
erjo@755 | 1 # SliTaz package receipt. |
erjo@755 | 2 |
erjo@755 | 3 PACKAGE="unshield" |
erjo@755 | 4 VERSION="0.5" |
erjo@755 | 5 CATEGORY="utilities" |
pankso@783 | 6 SHORT_DESC="Extract files from InstallShield CAB archive." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
erjo@755 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@755 | 10 WEB_SITE="http://kent.dl.sourceforge.net/sourceforge/synce/" |
erjo@755 | 11 WGET_URL="http://kent.dl.sourceforge.net/sourceforge/synce/$TARBALL" |
jozee@4974 | 12 TAGS="windows exe cab" |
erjo@755 | 13 |
pascal@15601 | 14 DEPENDS="zlib" |
pascal@15601 | 15 BUILD_DEPENDS="zlib-dev mysql-dev" |
pascal@15601 | 16 |
erjo@755 | 17 # Rules to configure and make the package. |
erjo@755 | 18 compile_rules() |
erjo@755 | 19 { |
pascal@19687 | 20 sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/' */*.c |
erjo@755 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1511 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1511 | 23 make && |
pascal@15601 | 24 make DESTDIR=$DESTDIR install |
erjo@755 | 25 } |
erjo@755 | 26 |
erjo@755 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@755 | 28 genpkg_rules() |
erjo@755 | 29 { |
erjo@755 | 30 mkdir -p $fs/usr/lib |
pascal@15601 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@755 | 33 } |
erjo@755 | 34 |