File: rules

package info (click to toggle)
slcurl 0.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 656 kB
  • ctags: 170
  • sloc: sh: 2,758; ansic: 1,582; makefile: 205
file content (16 lines) | stat: -rwxr-xr-x 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

 
DEB_CONFIGURE_EXTRA_FLAGS := --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
				--includedir=/usr/include/$(DEB_HOST_MULTIARCH)
DEB_COMPRESS_EXCLUDE := translate
DEB_MAKE_BUILD_TARGET := all RPATH=

# Run the demo provided upstream, but do not fail if network is not up
build/slang-curl::
	@echo Checking the package...
	-SLANG_MODULE_PATH=src SLSH_PATH=src:/usr/share/slsh	\
		./demo/translate spanish Hola Mundo