File: rules

package info (click to toggle)
s3cmd 1.5.0~rc1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 792 kB
  • ctags: 825
  • sloc: python: 5,781; makefile: 18
file content (25 lines) | stat: -rwxr-xr-x 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f

PACKAGE_NAME=s3cmd
PACKAGE_DIR=$(CURDIR)/debian/$(PACKAGE_NAME)
SHARE_DIR=/usr/share/$(PACKAGE_NAME)

%:
	dh $@ --with python2 --buildsystem python_distutils

override_dh_auto_clean:
	S3CMD_PACKAGING=1 python setup.py clean
	-rm -rf S3/*.pyc build

override_dh_auto_install:
	S3CMD_PACKAGING=1 python setup.py install --no-compile \
		 --root $(PACKAGE_DIR) \
		 --install-lib $(SHARE_DIR) \
		 --install-scripts $(SHARE_DIR)

O=s3cmd_1.5.0~20140213.orig.tar.gz
GH=https://github.com/s3tools/s3cmd/tarball
ID=9d69f990d62a16866c700ccc90d95adef99bef74

get-orig-source:
	wget -O $(CURDIR)/../$(O) $(GH)/$(ID)