File: rules

package info (click to toggle)
simage 1.7.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,908 kB
  • sloc: ansic: 14,231; sh: 12,587; cpp: 930; perl: 854; makefile: 617; lisp: 25
file content (24 lines) | stat: -rwxr-xr-x 1,093 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_AC_AUX_DIR = $(DEB_SRCDIR)/cfg
DEB_CONFIGURE_EXTRA_FLAGS = --enable-static --with-targa --with-rgb --with-pic --with-xwd --with-eps --without-mpeg2enc
DEB_MAKE_BUILD_TARGET = all 
DEB_MAKE_CHECK_TARGET = check

install/libsimage20::
	dh_install -plibsimage20 --autodest debian/tmp/usr/lib/lib*.so.*

install/libsimage-dev::
	sed -i "s/^dependency_libs=.*/dependency_libs=''/" debian/tmp/usr/lib/libsimage.la
	dh_install -plibsimage-dev --autodest debian/tmp/usr/lib/lib*.so
	dh_install -plibsimage-dev --autodest debian/tmp/usr/lib/lib*.a
	dh_install -plibsimage-dev --autodest debian/tmp/usr/lib/lib*.la
	dh_install -plibsimage-dev --autodest debian/tmp/usr/include
	dh_install -plibsimage-dev --autodest debian/tmp/usr/bin/simage-config
	dh_install -plibsimage-dev --autodest debian/tmp/usr/share/Coin
	dh_install -plibsimage-dev --autodest debian/tmp/usr/share/aclocal
	dh_installman -plibsimage-dev debian/simage-config.1